Mongo error handler - duplicate error on update