Fix links to local record views in search results.