Fix ParseTreeTransformer ignoring return value of transformCondition