Check for duplicates on the exchange, notify

This shouldn't happen, so it removes duplicates and notifies us if it
happens
Merge pull request #3173 from dimagi/exchange_duplicates

Check for duplicates on the exchange, notify