[consultation] Fix a bug in validation.