Steps to reproduce
I want to filter DONE or CANCELLED tasks and group them by status.type
```tasks
(done on 2025-06-07) OR (cancelled on 2025-06-07)
group by status.type
```
Actual result
Only the grouping title “DONE” is shown and “CANCELLED” tasks are not separated but appear in the list of “DONE” tasks.
Is this a bug?