Attempt to solve == vs. isequal bug

Is this enough to solve #13?