HPCC-10309 Fix bug where EXISTS(a+b+c) evaluated as EXISTS(c)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>