Add support for service filtering by ancestor