Fixed incrementing and decrementing fields on parseObject.

Previously not working due to incorrect data type being expected, and incorrect variable name.