## 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
{"event": "$pageview", "timestamp": datetime(2012, 1, 5, 3), "properties": {"key": "notval"}},
                {"event": "$pageview", "timestamp": datetime(2012, 1, 14, 3), "properties": {"key": "notval"}},
            ],
        }
        created_people = journeys_for(events_by_person, self.team)
        with freeze_time("2012-01-15T04:01:34.000Z"):
            request = TrendsRequest(
                date_from="-7d",
                compare=True,
                events=[{"id": "$pageview", "name": "$pageview", "type": "events", "order": 0,}],
            )
            data_response = get_trends_time_series_ok(self.client, request, self.team)
        assert data_response["$pageview - current"]["2012-01-13"].value == 0
        assert data_response["$pageview - current"]["2012-01-14"].value == 2
        assert data_response["$pageview - previous"]["2012-01-04"].value == 0
        assert data_response["$pageview - previous"]["2012-01-05"].value == 2
        with freeze_time("2012-01-15T04:01:34.000Z"):
            curr_people = get_people_from_url_ok(
                self.client, data_response["$pageview - current"]["2012-01-14"].person_url
            )
            prev_people = get_people_from_url_ok(
                self.client, data_response["$pageview - previous"]["2012-01-05"].person_url
            )
        assert sorted([p["id"] for p in curr_people]) == sorted(
            [str(created_people["p1"].uuid), str(created_people["p2"].uuid)]
        )
        assert sorted([p["id"] for p in prev_people]) == sorted(
            [str(created_people["p1"].uuid), str(created_people["p2"].uuid)]
        )
class ClickhouseTestTrendsGroups(ClickhouseTestMixin, LicensedTestMixin, APIBaseTest):