Fix bug with incorrect starting date