Better handle booleans.
Merge pull request #1 from wlonk/better-handle-booleans

Better handle booleans.