Fix redirect when the search returns only 1 result that is an exact match