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

```
Cohort.DoesNotExist: Cohort matching query does not exist.
(4 additional frame(s) were not displayed)
...
  File "ee/clickhouse/queries/sessions/list.py", line 155, in format_action_filters
    condition_sql, filter_params = format_action_filter_aggregate(entity, prepend=f"event_matcher_{index}")
  File "ee/clickhouse/queries/sessions/list.py", line 176, in format_action_filter_aggregate
    filters, filter_params = parse_prop_clauses(entity.properties, prepend=prepend, team_id=None)
  File "ee/clickhouse/models/property.py", line 41, in parse_prop_clauses
    cohort = Cohort.objects.get(pk=prop.value, team_id=team_id)
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 429, in get
    raise self.model.DoesNotExist(
```
ee/clickhouse/models/property.py
params = {}
    conditions = []
    if filters.get("selector"):
        or_conditions = []
        selectors = filters["selector"] if isinstance(filters["selector"], list) else [filters["selector"]]
        for idx, query in enumerate(selectors):
            selector = Selector(query, escape_slashes=False)
            key = f"{prepend}_{idx}_selector_regex"
            params[key] = _create_regex(selector)
            or_conditions.append(f"match(elements_chain, %({key})s)")
        if len(or_conditions) > 0:
            conditions.append("(" + (" OR ".join(or_conditions)) + ")")
    if filters.get("tag_name"):
        or_conditions = []
        tag_names = filters["tag_name"] if isinstance(filters["tag_name"], list) else [filters["tag_name"]]
        for idx, tag_name in enumerate(tag_names):
            key = f"{prepend}_{idx}_tag_name_regex"
            params[key] = rf"(^|;){tag_name}(\.|$|;|:)"
            or_conditions.append(f"match(elements_chain, %({key})s)")
        if len(or_conditions) > 0:
            conditions.append("(" + (" OR ".join(or_conditions)) + ")")
    attributes: Dict[str, List] = {}
    for key in ["href", "text"]:
        vals = filters.get(key)
        if filters.get(key):
            attributes[key] = [re.escape(vals)] if isinstance(vals, str) else [re.escape(text) for text in filters[key]]