Fix MongoDB object id.