SONARDOTNT-271 Support nullable types in ternary condition