Fixes for cpe_ancestors