HSN wise summary report

Hi

Resently we came across issue with HSN wise summary report. For some of invoices, user has amended HSN code from 8 digit to 6 digit on sales invoice. However, we found that these invoices were not picked by HSN wise summary report. The root cause for this is that the exact code was missing from HSN list.

I think the report logic should based on the sales invoice data rather than HSN list.

Does anyone has observed this or I am missing something?