#92317Pagetree filter returns spooky versioned records instead
Description
TYPO3 9.5.21
I don’t know what exactly happens here, but it looks like the active pagetree-filter applies the state of versioned page-records from a workspace. That’s the only explanation I have for this strange behaviour.
Normal state:
11931 and 2975 are displayed as enabled.
11841 and 11842 are displayed as disabled.
These states represent the real state of these records.

Now we gonna filter stuff:
Filtered state

w00t?!
11931 is displayed as disabled.
11841 and 11842 are displayed as enabled.
When you edit the page 11931:

Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.