HPCC-11844 Fix inconsistency generated in expression tree

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
I'm somewhat confused by this comment. You mention the need to call queryFullReplaceExpression yet you have added replaceExpression yet used quickFullReplaceExpression?