Fixed search not building a path correctly on production.