Fixed a bug where hashCode() wasn't implemented for CollectionItems.