Fix in logical condition