Removed a baffling XOR condition.