PAHMA-788: Fix highlight being applied to the wrong tab.