Prevent duplicates from appearing in the same pass.
Merge pull request #14 from ProjetPP/duplicates-at-same-pass

Prevent duplicates from appearing in the same pass.