Remove erroneous discount calculation in WooCommerce. Fixes #441