Fix bug with week switching.