Fix pb occuring when reloading taskgroups