Added support for the $setOnInsert operator