NH-3190 - Port-back fix

HqlGeneratorExpressionTreeVisitor should not convert boolean equality operator to case operator when node is a sub-query with single or first result operators