Fixed bugs in subword validation, checking if there are enough letters for a word as part of validation