Keyword + temporal search query fix