Make 'field value is a model' check more specific