Fix bug if validation was turned off in the model