fix minor switching bug introduced by 07ea2e

Yeah... I removed it in the rebased group titles branch