Further to the above post, the script deleted symbols that I had created or modified, concrete blocks and gas heater for example, from my VW files.
I assumed 'removing the record' would remove some attached data, not the actual symbol.
Luckily I have the original 2018 file to keep working on.