Fixing bug in tax

https://github.com/woothemes/woocommerce/issues/3998