Fix for empty values when required not specified as a validator. Added tests to verify.