Fix up redirection after PDF upload.