Fixes length validator's tokenizer

Closes #100
Closes #96