Add support for versions on query search results