Check for an empty validation error message. Closes #2009