Don't crash if a task has been deleted in TaskUploadForm