Fix find bug issues in IndexedKeyValue, use ImmutableBytesPtr instead of byte[], cleanup equals and hashCode impl