UniqueValidator skips if applied to non-objects