Fix model validation.
Minor qsim fix.