Fix a UI bug in qtAssociationWidget when an attribute is unique
This regression was introduced during a major renaming of model Cursor to EntityRef, which made the UI allow same entities to associate with multiple attributes, even they are defined as Unique. This commit fixes the bug.