Fixes error with serialization of Boolean type.

Any element/attribute with a type of Boolean and a value of false was not being
serialized.