FIX: ensures period-chooser is not losing query params (PR #10534)

eg repro before:

After this commit it should still be present

GitHub