Corrected compression for ++ and -- operator. Partially fixes #897.