Bug fix in SchemaType.js handling selected attributes