Fixed queries for the wp_woocommerce data source (for the last commit).