DOCS-2637 setOnInsert for findAndModify