Replaced a pointless ternary operator.
Replaced a pointless ternary operator.