changed < to !=