Correcting reversed ==/!= logic in previous commit