It's odd to have a ternary inside a conditional