I am not sure if we are talking about the same thing here ...
I wanted 'pendingTasks -= stage' to be moved into the if() condition.
I dont see how it is a behavior change or a bug