Fix increment/decrement functions.