Fixed bug in search result redirects