Fix for truthiness check in type conversions
Merge pull request #1 from duncanfinney/master

Fix for truthiness check in type conversions