Fix the validation script to ignore warnings