View Single Post
Well caught - yes there is :-)

In lieu of:
Code:
childrenCount > 0
try:
Code:
numberOfRemainingTasks > 0
(the problem with childrenCount is that it includes, for a start, any completed tasks)

Thanks for my drawing attention to that, I'll update the comments in the script file.

--