Fixes #63: Doubled up query string after redirect.