Changed <> to !=