I think I successfully fixed it for you. When Mads III became Caroline's sibling, he became his own father. To fix that, I had to disconnect Mads III from the two parent profiles he was connected to.
It's way too easy to make these kinds of errors, but they are fixable!