Fixed skipping of word occurence check