allow required param with predefined set of values to be nil,
fixed #635
Merge pull request #671 from dm1try/fix_required_params_inside_optional_group

allow required param with predefined set of values to be nil inside optional group