Fix strict mode in boolean attribute (fixes #219)