Shouldn't hashCode include the index as well?