BUG: Fixed a bug with offsets in week_start and week_end