We must also consider the two closed duplicated tickets. In one of them (51054) it appears that a simpler approach would be enough to fix the use case of the user. One where we do not clear the selections.
However, not sure what happens if we have items A, B[selected], C[seleted] in the first state. Then the user changes another parameter and then the items displayed are now only A, C[selected]... not sure if the user would still want B[selected] if B is displayed again, or if it would be in a reset/clear state. If the latter, that's much easier.
Also, we could suggest the simplest solution (not clearing selections), instead of maintaining the full state of selections between states (much harder, with more risk of bugs).
For later, as this will probably need at least a minor version release. Next release will be probably patch/bugs.