Swapped operands' order within ternary operator