Fix for #48

custom validate() is not called inside isValid() #48