Update data_validator.py

Fixed some bugs