Validating model has range field