#1010| Fixing error messages not getting cleared.