HPCC-11082 - Global LOOP with row condition must recheck finishing

A global LOOP with a condition on thw rows, must recheck the
'finishedLooping' condition. Just because there are 0 rows to
process at the start of the loop, does not mean there will be 0
after the next execute in the global case.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Merge pull request #5582 from jakesmith/hpcc-11082

HPCC-11082 - Global LOOP with row condition must recheck finishing

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>