Fix tab selection when using demo data