It seems to work for me. just the problem is that "Family" link template has wrong selections with duplicates,
you should use the specific xpath to select each item for "Family" link template:
If I'm misunderstanding, Please attach your log file and sample data to point out which parts didn't work for you. thanks.