Fix delete action for groups controller