Avoid ternary operator when not required