Fix double encoding of search queries in pagination meta (bug 1090239)

Maybe rewrite to something like:
> We ignore the original `query` here and rebuild it instead as it is already

i.e., make it clear that we are only ignoring the `query` we got from the urlsplit, not `query` altogether.