Add search functionality to Visits. #302