Adding query paramters on redirect from previous request #1749

With the change from #1749, redirects were no longer passing query parameters.