Thank you for idea! I found a workaround based on it, although I’m still unsure why the first filter isn’t working. Here’s how I managed to make it work:

filterworkaround

It would still be interesting to learn how to combine that into a single filter.