Fixed bug in GenericSparseCluster implementation