My first answer assumed you've already made the corrections.
Otherwise, edit the profiles in question, and on the side, click the link to edit the spouse -- there will be several options available, to add or remove a spouse
Make notes of which profile IDs should be connected to each other, and follow your notes carefully