Attempt to solve isequal vs. == bug

Is this enough to solve #6?