fix boolean validation issues
Merge pull request #3 from nblackburn87/error

fix boolean validation issues