fix: prevent crash when selecting nodes
We got a Error: Objects are not valid as a React child
when selecting any node, due to the recently re-enabled SelectionConfig
not dealing with all possible attribute types. A fairly stop-gap solution but it does the trick :)