Small cleanup of the sidebar search.