Fix FlagForm#set_group_flag_params to handle nils