Prevent duplicates from appearing in the same pass.

This is an issue I noticed while introducing a second NLP module.