CSPACE-6029: Use Sets to eliminate duplicate CSIDs obtained from reciprocal relation records.