Fix dedupe on relay