Filtering and toggling header check state should only affect the filtered items
This issue is a todo item from !2700 (merged). When a tree widget is filtered to only show a subset, toggling checkstate using the header should only affect the subset visible not all items.
Currently, a work around is to highlight all items in the view and then toggle their checkstate rather than using the header.