Rewrite parent_segment and add parent_segment_id, parent_segment_absolute, parent_segment_absolute_id for ignoring pagination