Fixed bug in example code for Custom Validators