Use connection tree in filter utils.

Ensure that filter regions can be built using values retrieved from the
connection tree.