Change that line to:

PHP Code:
if (isset($this->info['tax_groups'][$tax_entry_description])) { 
And the issue appears to be solved for the order_total, but I will have to look at the shipping next...