Correction to calc_amount_with_tax