Fix error during upgrade to WC 2.2