One thing that bothers me

Spoilers so stop reading if you’re not caught up. But the elves have everyone’s DNA in a registry- so why does it matter that Sophie doesn’t know who her parents are? Can’t they do it backwards like we do with ancestry.com in our lives? Or even just run certain genetic markers and compare them to other elves to see who would genetically be a good match?