Use a temporary index number also on unchanged tasks.