Minor fix for the validation