fixed issues with cloning a project with no tasks