Fixed my logical operator