Fix comparison operator.

It assumed the other object responded to methods it didn't, so you
couldn't compare it against nil and so on. Not a great idea.

(v1.3.1)