Multiselect fix for multiple permissions

Multiselect was not re-setting the "Selected" groups if more then one group was selected. This change will correctly set the selected groups for either scenario.