Fix error when finishing edit of new task.
Merge pull request #3 from wildfiler/projects_error

Fix error when finishing edit of new task.