Search - filter vs. automation

Hi there,
there seems to be an issue with search vs. filtering?

This is a filter with 1709 results:

image

However, the automation finds zero. What could be the issue?

image