Unknown spouses - who wants them?

That got me thinking and reminded me that RM’s Delete Phantoms does not clean out orphaned records from all tables in the database. Given RM8’s propensity to freeze, crash, or throw an error, it’s possible that a process such as adding a person might not have finished properly. At minimum, 1 record needs to be added to each of the NameTable and the PersonTable. The latter’s PersonID must match the former’s OwnerID. If the NameTable record got added first, the OwnerID might be 0 initially awaiting an update from the process of adding a record to the PersonTable. A disruption between those steps could leave the Name record with a RIN of 0 as its OwnerID in which case all the default placeholder spouses could get that name.

One would have to look at the NameTable with SQLite to find a NameTable record with OwnerID =0 and delete it.