To reproduce:
The train has 99 plates, the inserter should insert 1 but it's going to insert 12.
Set the train to automatic for it to reach the station.
It only happens when the train just reached the station.
The circuit checking the condition if T > 0 then send S should not be true before the train content is readable.
What the circuits do:
== : for each signal in chest send train signal (so we only get the plate signal from the train)
- : max stack size from chest item type - filtered signal from the train (how many plates we need to fill one full stack in our train)
> : if T (train id) > 0 then send S (stack size)
inserter : enable if S > 0, stack size set to S


