Improved the Items.areEqual() method.