CA-98950: fix coalescing in the presence of smaller ancestors