Fixed the problem with != acting like =.