BUGFIX: Switch to correct Tab when switching between groups