Fixes issue with get_search_form callback