Added redirects to the search function (Refactored downcase call)