Fixed word check against dictionary.

Was adding unnecessary check that resulted in duplicates being added.