hashCode() and equals() for OffsetSequenceItem