Fixed clearing Operators after invalid input.