Fixed typo for __ne__

We could probably also refactor `__ne__` to call `__eq__`