Clean up dedupe command