fix write concern in deleteByCriteria