Improve compatibility with "How Many Times Can I Back?" (#397)

use commonAncestorContainer instead of getCommonAncestor()