More exact dedup