Fix for glossary bug where search results remain visible when a tab group is selected