Filter to merge direct recursive calls