Fix tab highlighting issue for the tabs on the exercise pages, #759