Handle decrement for x<0 correctly.