Fix errors of old search url with search=1