FamilyType.Duplicate creates family type in wrong family

Hello everyone,

I tried to automattically create new family types from an Excel spreadsheet with has a lot of duplicate family types on there.
But when i tried using the familytype.duplicate node it duplicated the family type into the wrong family, even though my list levels/ lacing are setup correct (i think). See my screenshot below:

On the first screenshot i even made sure the list all were the same, but the output was still wrong.

PS: This node is from the Clockwork package (2.x)

Thanks in advance.

After some more trial and error i thought about splitting it completely, but no i have absolutely no clue what is happening here: