prefs: filter tree: use isContainerOpen property

(integrated from master branch change c29ca38 by Todd Whiteman <toddw@activestate.com>)