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=["person_1"], team=self.team)
        Event.objects.create(event="user signed up", team=self.team, distinct_id="person_1")
        action = Action.objects.create(team=self.team)
        ActionStep.objects.create(action=action, event="user signed up")
        action.calculate_events()
        person2 = Person.objects.create(distinct_ids=["person_2"], team=self.team, properties={"$os": "Chrome"})
        Person.objects.create(distinct_ids=["person_3"], team=self.team)
        Person.objects.create(distinct_ids=["person_4"], team=self.team)
        cohort = Cohort.objects.create(team=self.team, groups=[{"action_id": action.pk, "days": "7"}])
        cohort.calculate_people(use_clickhouse=False)
        with self.assertNumQueries(1):
            self.assertEqual([p for p in cohort.people.all()], [person1])
        cohort = Cohort.objects.create(
            team=self.team, groups=[{"properties": [{"key": "$os", "value": "Chrome", "type": "person"}]}],
        )
        cohort.calculate_people(use_clickhouse=False)
        self.assertEqual([p for p in cohort.people.all()], [person2])
        cohort = Cohort.objects.create(team=self.team, groups=[{"properties": {"$os__icontains": "Chr"}}])
        cohort.calculate_people(use_clickhouse=False)
        self.assertEqual([p for p in cohort.people.all()], [person2])
        cohort = Cohort.objects.create(
            team=self.team, groups=[{"action_id": action.pk}, {"properties": {"$os": "Chrome"}}],
        )
        cohort.calculate_people(use_clickhouse=False)
        self.assertCountEqual([p for p in cohort.people.all()], [person1, person2])
    def test_insert_by_distinct_id_or_email(self):