Fix URL encoding in search params