Visits search bugfix