Throw DuplicateKey exception in "caused by" case

- DuplicateKey error can can also be the cause of an
  error which gets wrapped in a different error by
  the mongos