fixes #1 Boolean attribute is set to false even if value is null
Merge pull request #2 from thagul/master

Boolean attribute is set to false even if value is null