Adding restriction in order to dont let users to drop their membership from a subgroup. This is controlled by the param AllowMembersDropGroup in dotlrn-portlet. Maybe another param (AllowMembersDropSubGroup) should controll this.
Move the foreach applet command after the community clone command. We got an error, because the clone proc tried to create the community applets before the new community was created (clone community).