Changed NULL to lowercase in validation_helper