SQL to fix bad personIDs