Fix a validation issue in DB2