Fix bug 695 - task-scheduler: delete on 1 task, deletes them all

Signed-off-by: Daniil Baturin <daniil@baturin.org>
1.0.3+hydrogen4