Don't allow to have nil value when required & have allowed values.

This fixes the case when we want to filter nil values in params,
and we provide allowed values using ValuesValidator.