fix $setOnInsert with empty obj cause mongodb 2.6 complain