Fix closed words criterion
Revert "Fix closed words criterion"

This reverts commit d20a3c5d5d5970c2152aac52caba3c4b16b1ac58.
Fix closed class words