Issue with GraphQL products query using savedSearchId and "where collection is"

I have found an issue when using a products query with the savedSearchId parameter where the results are not what I am expecting. [docs]

Reproduction Steps1. Create a custom collection, Collection A

  1. Create some products (Product 1, Product 2, Product 3)
  2. Put Product 1 into Collection A
  3. Create a Saved Search using filter “where collection is Collection A”
  4. Perform the following GraphQL query
{
    products(first: 25, savedSearchId: "gid://shopify/SavedSearch/1234567890") {
        edges {
            node {
                title
            }
        }
    }
}

Expected Results

I expect to only see Product 1 in the result.

Actual Results

I see all products.

Thoughts

The issue appears to be specifically related to the “collection is” filter. I should also note, that the Saved Search result is correct in the Shopify interface. The issue is only with the GraphQL query performed through the API.

could you please provide step3 params and results? the graqhql you provided seems right.
this is all good in my side see below

also you can test your filters in your product admin and observe the results count returned