Fixed bug with '01' being considered valid.