HPCC-12378 WHEN clause triggered on the false branch of an IF, in Roxie

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>