V13 old stock entry "Is Finished Item" bug

When updating to v13 from v12,
the old stock entries with the stock entry type: Manufacture will be reposted without adding overhead expenses to the accounting ledger entry.

I think that this is due to the new feature of selecting that the product is finished Item or scrap “Is Finished Item”. all the old entries don’t have this checkbox checked by default.

Is there any way to resolve this issue since it’s very hard to cancel all past stock entries while having sales invoices with the same batch numbers?

Any help is appreciated.