Removed incorrect equals() method from comparator