Fixed bug in isequal / ==