Fix data removal when group cardinality ≤ 1.

Fixes #90.