Converted this to `if`s because there is no way to determine `isNull` with objects using the validator anymore, and no alternative to work it in that really makes sense. Unfortunately, I think we should find or build an alternative.