Good detective work Sam. You deleted what we call the ""9"" record for the OptimizationType field which always points to a worktable and is normally a good thing to have in there. I have 1 warning which I'll share with you via a recent experience.
One of our reports on Premium/SQL intentionally didn't have a ""9"" rec but duplicate records appeared on the report output. It was because the report program was WRITEing to the worktable twice in a nested loop. In SQL TempDB, Sage's worktable doesn't get created with a primary key so if you try to UPDATE the same record you already wrote to, a new one gets INSERTed instead (now you have dupes). So, instead of adding the ""9"" rec (which would've also fixed the dupe problem), we fixed the program to WRITE once only at the end of the loop.
My point is on the Financials, since the ""9"" rec is gone now, you really want the client to verify their Financials are correct, that there are no duplicates (in case the Sage programmer does a 2nd WRITE themselves) or missing data. I think you'll find the data will be OK but just verify.