Issue with incorrect parent when tasks is deleted.