Fix Task IDs in TaskGenerator