Correctly highlighting initially selected tab.