Don't lose additional query string arguments on redirect

The nicer search module currently discards all additional query string arguments on redirect. This patch should fix that, so that links like `/?s=query&post_type=cpt` get changed to `/search/query?post_type=cpt`.