Creates and updates a membership group, fixed a bug in the form that prevented the criteria being sent through