Fixed validate_dataset.py.  The last change was incomplete.