CRUNCH-437: Fix Crunch-on-Spark duplicate value aggregation