The `lowest_common_ancestor` function fails to spot when one node is the parent of the other.
The
lowest_common_ancestorfunction fails to spot when one node is the parent of the other.