Hi @poulterd,
Just to verify, after correcting the data (but before running the upgrade), you shouldn’t get any results for the following query:
SELECT a.article_id FROM articles a LEFT JOIN sections s ON (a.section_id = s.section_id) WHERE s.section_id IS NULL;
Is that the case?
Regards,
Alec Smecher
Public Knowledge Project Team