Fixes issue #1086.


Empties out previous status messages when there is an error.