Fix bool casts
Merge pull request #19 from brson/master

Fix bool casts