[867621] Fixed /dev/delete bug caused by mongoDB error handling changes

Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=867621