I have deleted them on startup. It took almost one hour 17:04:21-17:59:54 at a rate of ~167 records per second.
I can see in the 2023-07-23 version it's probably fixed.
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts
Not sure why it was duplicated, I clicked "submit"only once....