Fix ObjectId inserting.