rebuildPane() with maintainSelect and filters active causes pagination reset
rebuildPane() with maintainSelect and filters active causes pagination reset

Link to test case: https://live.datatables.net/retuleco/1/edit?js,output
Description of problem: When calling rebuildPane(undefined, true) to rebuild all panes keeping the selected filters while being positioned on a page other than 1 and having one or more filters selected, the table goes to page 1. This is not the case when no filters are selected or when calling rebuildPane() without arguments. In the example, the page number is being saved before the call then restored after, in an unsuccessful attempt to override the behavior.
The example is a modification of a proposed solution from a thread on a similar problem. The modification consists in making the panes visible so a selection can be made in order to reproduce the problem.
Steps to reproduce: Select any filter/s so that the table has at least two pages. Move to a page other than 1. Click the "rebuild all panes" button.