Added task Ids to all treatment tables