Fixed hard refresh issues with form redirects.