Quick fix to let existing query URLs survive the redirect.