Fixed bug in find_LCA