Remove shorthand ternary operator