better cursor positioning for a random key.

This patch is a part of v1.2 consistent
cursor seek logic.