Fix bug in milestone creation for projects.