AI-482 - changed List<Cuid> -> Set<Cuid> for reference widgets