Removed a pointless use of logical operators.