Reset to first page when removing facets by currentRefinements widget


I’ve encountered a problem with currentRefinement and pagination.

If I select a facet from a refinement list, go to page 2 and deselect it again via the same menu, I automatically return to page 1. That’s exactly what the user would expect. But when I do the exact same thing, but removing the facet using currentRefinements, the page number doesn’t change, I’m still at page 2.

Any ideas on how I can reset the page number to 1 after removing facets using currentRefinements?

Resets to page 1:

Still at page 3: