ancestry.lua: check if links are added to list