Fixed bug in validator.