Fix deduplication groups