Make dedupe command handle duplicate jobs