when creating the cohort tmp table, only copy in flight segment data that's needed