Condition change

added <= operator to ensure a true or false answer