Fix clearGroupTabs