Please use parentheses here. Multiple nested tertiary operators are harder to read, but more so if the grouping is not explicit.