Fix syntax error in ternary operator