Fix issue on cloning tasks to set proper AC id