Use collection-type in duplicate removal to support child links #1076