Hi Jay, thank you for looking into this.
The query should always return either 0 or 2. In this particular case it should have returned a 0.
If I run the task’s query for that period of time it returns a 0:
In the following you may see that the task keeps running with its output alternating between 0 and 2.
I have highlighted the missing value in red. What else could be the reason for this?