bugfix for display of attrs with truthy values (e.g. "1")