MB-12486 Allow iterator to seek to end_key.

Change-Id: I0ebc83f772ae33fab0d8b87ab556d6dda9902aff