[Status] Fix clearing of subtask if new main task is started

Backport-of: 5373cfd707ef55a029bcb9accbba73e185b9eb7d
1 file changed