Help with saved search on tags and tasks

So this first image shows the search query, and 3 tasks. One in yesterday’s daily note, two in today daily note:

And now in today’s daily note, I complete one task. But the search query hides both the tasks, the complete one and the incomplete one. I would expect the incomplete one to continue to show in the search.

What is wrong with the query?

I figured out the needed query to get what I want. I need to use regex to get a match on only the line: