Not all orders have sales tax associated with them. If an order without sales tax follows one that does, then the tax is entered for the previous order. To fix this, I had to reset the variable $Order_Tax. The correction resides on line 203 of the code, and is simply: $Order_Tax = '0';

Attached is the full version with the one additional line to correct this bug.

More...