Fixed 404 error while searching