Fixed deleting Tasks