Fix student tab switching