Dedupe detect and fix celery task



<!---
@huboard:{"order":34.0,"milestone_order":34,"custom_state":""}
-->

Seeing you've also got an `updated_at` timestamp, is there value in doing the `MAX` of that instead of `id`? Does that ever get changed?