Removes obsolete show/hide code from the search view/controller