fixed a bug in LCCA calculation when the non-strict common ancestor is a target