Ensure duplicate triples in input doc don't impact @list generation.