Break ternary condition for 2.4 compatibility