See screenshot. I have activated some tasks delivering cargo to the factory. Active contract: 12 metal rolls left. I shipped rolls and wondered, why I unloaded rolls without the counter going up. Solution: I fulfilled parts of a not "tracked" contract.
If you allow delivering cargo for more than one task - please move these to the "top of the list".