Your program considers two people to be the same and substitutes one for the other, but these people are different!!
They have the same name and surname, but different middle name, year of birth and everything else
I can’t do anything !!! Correct you stupid bug!!
These people are
Anna Zaharovna Smirnova
Anna Alekseevna Smirnova
My Family tree-Еlena Maximova