Fixed bug with tasks not being attached to projects and contexts