Handle missing http referer error by redirecting to searches_path