Made mistake

changed boolean statements to make sense