prevent odd redirects in admin with woocommerce