Fixed errors on guest visit search page.