## Bug description

Sentry error: https://sentry.io/organizations/posthog/issues/2231515632/?project=1899813&query=is%3Aunassigned+is%3Aunresolved

If you have an action with property filters, you can't filter by it in sessions

## Expected behavior

Results are found

## How to reproduce

1. Create action such as below (important part is being the "filters")
![image](https://user-images.githubusercontent.com/148820/109278010-b7086780-7820-11eb-9ba1-aa979204de1e.png)
2. Go to sessions, try to filter by it
3. See 500 error from backend

## Environment

- [x] PostHog Cloud
- [ ] self-hosted PostHog, version/commit: _please provide_

## Additional context

Some notes. The error states:

```
DB::Exception: Missing columns: 'team_id' while processing query:
```

In clickhouse sessions query for filtering we embed the action filter in the outermost query layer, where team_id is not available.  

The offending query adding team_id starts here: https://github.com/PostHog/posthog/blob/51e6ccd4858455c370c8f716f617fc3a55e6a4f1/ee/clickhouse/models/action.py#L39

#### *Thank you* for your bug report – we love squashing them!

ee/clickhouse/queries/sessions/list.py
if len(result) == limit:
                result.pop()
            pagination = {"offset": offset + len(result), "distinct_id_offset": distinct_id_offset + limit}
        self._add_person_properties(result)
        return filter_sessions_by_recordings(self.team, result, self.filter), pagination
    def fetch_distinct_ids(self, date_from: str, date_to: str, limit: int, distinct_id_offset: int) -> List[str]:
        if self.filter.distinct_id:
            persons = get_persons_by_distinct_ids(self.team.pk, [self.filter.distinct_id])
            return persons[0].distinct_ids if len(persons) > 0 else []
        person_filters, person_filter_params = parse_prop_clauses(self.filter.person_filter_properties, self.team.pk)
        return sync_execute(
            SESSIONS_DISTINCT_ID_SQL.format(date_from=date_from, date_to=date_to, person_filters=person_filters),
            {**person_filter_params, "team_id": self.team.pk, "distinct_id_limit": distinct_id_offset + limit,},
        )
    def _add_person_properties(self, sessions: List[Session]):
        distinct_id_hash = {}
        for session in sessions:
            distinct_id_hash[session["distinct_id"]] = True
        distinct_ids = list(distinct_id_hash.keys())
        if len(distinct_ids) == 0:
            return
        persons = get_persons_by_distinct_ids(self.team.pk, distinct_ids)
        distinct_to_person: Dict[str, Person] = {}
        for person in persons:
            for distinct_id in person.distinct_ids:
                distinct_to_person[distinct_id] = person
        for session in sessions:
            if distinct_to_person.get(session["distinct_id"], None):
                session["email"] = distinct_to_person[session["distinct_id"]].properties.get("email")
    def _parse_list_results(self, results: List[Tuple]):