[DF-5486] Scene tree filter refactoring