I'm using Power Automate to dump information from Planner to an Excel file.
I have several Teams groups, each of them with several channels -every channel represents a different project-, and there's a Planner plan for every channel. Every plan has 4 buckets, first of them with a unique task that acts as a description of the channel/project.
I want to access just that single task for every plan, so I have designed a flow:
1. List teams
2. Apply to each:
2.1. List plans for a group
2.2. Apply to each:
2.2.1. List buckets
2.2.2. Apply to each:
2.2.2.1. Condition
Condition is the key step, where I filter the name value of the first bucket.

2.2.2.2. List tasks
2.2.2.3. Apply to each:
2.2.2.2.1. Add a row into a table
The flow works, but not the Condition step, and I get all the tasks from the rest of the buckets.

I think the issue might be related to List tasks step, where I'm asked to give ids both from groups and plans, so maybe that's the reason why the flow doesn't care about buckets: something related to hierarchy?
Any hints? Thanks in advance!