Fix to is.errorMessages

If any error occured, it would add all registered objects
error messages to the list, even if the error messages were
'null' due to being valid