Added a check for edit groups to have at least one friend.