Fix problem handling visitors and search results