ancestorCursor.rebind(hKey, false);
ancestorCursor.open();
row = ancestorCursor.next();
// Retrieved row might not actually be what we were looking for -- not all ancestors are present,
// (there are orphan rows).
if (row != null && !hKey.equals(row.hKey())) {
row = null;
}
ancestorCursor.close();
return row;
}