Changed some logic signs