Simplify casting boolean attributes
Merge pull request #24 from krautcomputing/fix_boolean_attributes

Simplify casting boolean attributes