Fix a couple of validation exceptions.
Update code for new ORM::has() API which takes a model name as the
first argument.