Reverted change to logical operator