Added support for quering visits from browsing history