Nice catch @RBoy - I missed handling/clearing the cache when changing the period as well
https://github.com/discourse/discourse/pull/36975