Don't unnecessarily strip out search params

gdit @cvan