HPCC-9076 Treat scope-independent filters the same as IF conditions

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #4322 from ghalliday/issue9076

HPCC-9076 Treat scope-independent filters the same as IF conditions

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>