Fix a bug caused by previous commit where allTasks list is affected

Previously, a commit removed tasks from allTasks if it isDeleted. This
disallows Google component to sync properly as it is not able to find
the tasks that isDeleted to initiate delete at Google.