Describe the bug
The initial value given to expandedKeys gets overridden if a filter field is present, even if the filter value is empty.
In the reproducer, both trees use the same initial expandedKeys but the tree with the filter field is not initialized properly (all nodes are collapsed).
Reproducer
https://stackblitz.com/edit/edubbxcg
System Information
Steps to reproduce the behavior
No response
Expected behavior
Both trees should be the same upon first render.