Added query to title block of search template