Fix a bug in BTree::find_index_entry().