Fix search tab selection.