Fixed custom validation bug.
0.1.1 Fix to custom validation functions bug.