The list entry should only be inserted when no text ID is available in the content file. Otherwise, we will get a lot of duplicate references. If a text ID is part of the row, it should be collected and afterwards you have to check if those items are already linked by a list item. If not, it has to be inserted with _importReferences()