handle timed queries with search as well