Fixed no-reload issue in task deletion.