Fix delete tasks finished