Fix subtree hiding and break of GUI when input is changed
This is a fix for a bug that hides the subtree of a filter with child filters and breaks the GUI when input of the filter is changed.
This MR resolves issue #21184 (closed).
Edited by Spiros Tsalikis