Fix url issue with search