Reset to first page when removing facets by currentRefinements widget

Hi!

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:
algolia-recording

Still at page 3:
algolia-recording-2

https://instantsearchjs.netlify.app/stories/?path=/story/refinements-currentrefinements--default

Thanks!
//Per