Prevent dupes as well. Fixes #19.