The redirect for creating a new form was using php's header to redirect. Changed this to use wp_redirect() instead.