Fixed delete group bug