Part of the process is to match or reject suggestion. These matches seem to be then excluded from the logic to link parents, spouse and children together.
Would it be possible to update the code so when a match is made it replaces the individual in the gedcom so that the logic is not broken and they are added with the correct relationship or others in the file are added to them such as children.