Fixed an issue where selected rows were being lost if user checks a row ...

...while the grid is filtered, even if preserveHidden is true.

Steps to reproduce:

1. Select a few rows in the grid
2. Apply a filter to the grid
3. Select a few more rows in the grid
4. Remove the filter, but the rows selected in step 1 are now gone