Changed the way the intersection is computed. An intersection does not return duplicate values. So the result is like a set.