Fixed #15. Fixed boolean validate method
Merge pull request #16 from IonicaBizau/master

Fixed #15. Fixed boolean validate method