## Bug description

When you create a trend with two lines, one of which is say $pageview with a filter of browser = chrome and the other is ALSO $pageview but a different filter.

If you click on any the line you get the same users in the persons modal, even if you switch the trend line toggle in the modal.

## How to reproduce

1. Create a new trend
2. Add a $pageview trendline, and another $pageview trendline with a subfilter
3. Click on any of the lines
4. Open the persons modal and switch between the trend lines in the persons modal

## Environment

- [x] PostHog Cloud
- [ ] self-hosted PostHog (ClickHouse-based), version/commit: _please provide_
- [ ] self-hosted PostHog (Postgres-based, legacy), version/commit: _please provide_

## Additional context



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

ee/clickhouse/views/test/test_clickhouse_trends.py
events=[{"id": "sign up", "name": "sign up", "type": "events", "order": 0,}],
                properties=[{"key": "key", "value": "oh", "operator": "not_icontains"}],
            )
            data_response = get_trends_time_series_ok(self.client, params, self.team)
            person_response = get_people_from_url_ok(
                self.client, data_response["sign up - val"]["2012-01-13"].person_url
            )
        assert data_response["sign up - val"]["2012-01-13"].value == 1
        assert data_response["sign up - val"]["2012-01-13"].bre_value == "val"
        assert sorted([p["id"] for p in person_response]) == sorted([str(created_people["person1"].uuid)])
        with freeze_time("2012-01-15T04:01:34.000Z"):
            params = TrendsRequestBre(
                date_from="-14d",
                bre="key",
                display="ActionsPie",
                events=[{"id": "sign up", "name": "sign up", "type": "events", "order": 0,}],
            )
            aggregate_response = get_trends_aggregate_ok(self.client, params, self.team)
            aggregate_person_response = get_people_from_url_ok(
                self.client, aggregate_response["sign up - val"].person_url
            )
        assert aggregate_response["sign up - val"].value == 1
        assert sorted([p["id"] for p in aggregate_person_response]) == sorted([str(created_people["person1"].uuid)])
    def test_insight_trends_compare(self):
        events_by_person = {
            "p1": [
                {"event": "$pageview", "timestamp": datetime(2012, 1, 5, 3), "properties": {"key": "val"}},
                {"event": "$pageview", "timestamp": datetime(2012, 1, 14, 3), "properties": {"key": "val"}},
            ],
            "p2": [