Fixed a bug in locating the current week on startup.