Why did you change this logic? The model already has code that determines whether to display the error description.