Fixed bug regarding user-defined attribute sets.