Super strange apparent bug - I haven’t managed to duplicate it outside my app, but it makes no sense at all.
I have a Send Email action during which a count of overdue tasks in my app is calculated.
It does “Search for Tasks: count”
The criterion in the search for tasks is
Due < Current date time + days (14)
This produces a count of 1. However I know there are many more than this.
In fact if I change the value in + days from 14 to 13 it produces a result of 26 - i.e. when I make the criterion MORE restrictive, I get MORE results. This is clearly very broken. Here is a screenshot of the difference: