Minor fix to ternary operator style