Logic fix

Removing negative conditions.