Fix compatibility with WooCommerce Payment Gateway Roles (and possibly others)