Fix get_segmentation_id.