Fix funny types used in attribute value representation