Incorrect data populated in HSN-wise-summary of outward supplies

In HSN-wise-summary of outward supplies,
Double Total amount and Total Taxable Amount getting populated in the report if Sales Invoice has more than tax applicable. For example - If a sales invoice is having an item with an item tax template of GST 18% which is the combination of CGST 9% and SGST - 9% then the qty, total amount, and the total taxable amount is showing double value in HSN-wise-summary of outward supplies for that particular HSN.

I think it is applying the loop for Taxes twice and adding the value two times from the sales invoice item (HSN-wise).