Fix ternary.