Modified Clustering Algorithm

Discovered that the previous iteration created distinctions between
identical sets - some artifact in the code.