#680: data_validator.py, wrap '.lower()' method with IF statement

Resolves #680.