Fixed bug to prevent unpacking error when taskgroup was empty.
Added longterm taskgroup.