Called for non-leaf cells to test how the cell relates to the query, to determine how to further recurse down the tree.