prefs: filter tree: use isContainerOpen property (part 2)

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