Use index instead of key presence.

Use index instead of key presence when playing branch page log to
determine if the particular index has a key.

Closes #229.