Fix creating tasks for project.