Replaced vector with set in CUniqueVector