Adjusted adjacency again to check if we're checking sibling or parent earlier.