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}")
```
posthog/test/test_cohort_model.py
person1 = Person.objects.create(
            distinct_ids=["person1"], team_id=self.team.pk, properties={"$some_prop": "something"}
        )
        person2 = Person.objects.create(distinct_ids=["person2"], team_id=self.team.pk, properties={})
        person3 = Person.objects.create(
            distinct_ids=["person3"], team_id=self.team.pk, properties={"$some_prop": "something"}
        )
        cohort = Cohort.objects.create(
            team=self.team, groups=[{"properties": {"$some_prop": "something"}}], name="cohort1",
        )
        get_person_ids_by_cohort_id.return_value = [person1.uuid, person2.uuid]
        cohort.calculate_people(use_clickhouse=True)
        self.assertCountEqual(list(cohort.people.all()), [person1, person2])
    @pytest.mark.ee
    def test_clickhouse_empty_query(self):