Changing of group membership did not work properly because ismember was not checked to be set