Sentry Issue: [POSTHOG-3DZ](https://sentry.io/organizations/posthog/issues/2582077777/?referrer=github_integration)

```
ValueError: Property type does not have a table: cohort
(1 additional frame(s) were not displayed)
...
  File "ee/clickhouse/models/cohort.py", line 239, in recalculate_cohortpeople
    cohort_filter, cohort_params = format_person_query(cohort, 0, custom_match_field="id")
  File "ee/clickhouse/models/cohort.py", line 59, in format_person_query
    prop_query, prop_params = get_properties_cohort_subquery(cohort, group, group_idx)
  File "ee/clickhouse/models/cohort.py", line 79, in get_properties_cohort_subquery
    filter_query, filter_params = prop_filter_json_extract(
  File "ee/clickhouse/models/property.py", line 89, in prop_filter_json_extract
    property_table(prop), prop.key, f"%(k{prepend}_{idx})s", prop_var, allow_denormalized_props
  File "ee/clickhouse/models/property.py", line 191, in property_table
    raise ValueError(f"Property type does not have a table: {property.type}")
```
ee/clickhouse/models/cohort.py
from ee.clickhouse.models.property import parse_prop_clauses
    filters = Filter(data={"properties": [{"key": "id", "value": cohort_id, "type": "cohort"}],})
    filter_query, filter_params = parse_prop_clauses(filters.properties, team.pk, table_name="pdi")
    results = sync_execute(GET_PERSON_IDS_BY_FILTER.format(distinct_query=filter_query, query=""), filter_params,)
    return [str(row[0]) for row in results]
def insert_static_cohort(person_uuids: List[Optional[uuid.UUID]], cohort_id: int, team: Team):
    persons = (
        {
            "id": str(uuid.uuid4()),
            "person_id": str(person_uuid),
            "cohort_id": cohort_id,
            "team_id": team.pk,
            "_timestamp": datetime.now(),
        }
        for person_uuid in person_uuids
    )
    sync_execute(INSERT_PERSON_STATIC_COHORT, persons)
def recalculate_cohortpeople(cohort: Cohort):
    cohort_filter, cohort_params = format_person_query(cohort, 0, custom_match_field="id")
    cohort_filter = GET_PERSON_IDS_BY_FILTER.format(distinct_query="AND " + cohort_filter, query="")
    insert_cohortpeople_sql = INSERT_PEOPLE_MATCHING_COHORT_ID_SQL.format(cohort_filter=cohort_filter)
    sync_execute(insert_cohortpeople_sql, {**cohort_params, "cohort_id": cohort.pk, "team_id": cohort.team_id})
    remove_cohortpeople_sql = REMOVE_PEOPLE_NOT_MATCHING_COHORT_ID_SQL.format(cohort_filter=cohort_filter)
    sync_execute(remove_cohortpeople_sql, {**cohort_params, "cohort_id": cohort.pk, "team_id": cohort.team_id})