Corrected model validation