Michael & Valarie & Asif  Removed multiple ifs from PreviewErrorValidator.hasErrors()