Fixed bug for ++ and --