Additional sql strict mode related fix in add_trans_tax_details().