It is classfix.php that's changing all the userids in the "Products" table to zero.
I restored the products table from my pre-migration backup. All the items in the Products tables had user IDs (the old PHPBB uids). I ran Cleaner.php and they were all changed to zero.
Could it be anything BUT the "Add Slashes" routine you had me add to the script?