fixes #1 Boolean attribute is set to false even if value is null