Fixed bug in increment and decrement.