Prevent duplicates in beets.