Fix error in parsing ObjectId wrapper.