Fix get_segmentation_id for all data.