Thank you for the hint, now I get it. So it's not a bug.
Well, that was not obvious without reading detailed explanation =) Could you, please, add the info about fuel sharing into the technology description, for example?
From my side it looked really weird with one fuel inserter working, the other not working, Inventory sensor showing a locomotive with fuel that was never loaded into it, etc =)
On the other hand a two-headed train now contains only 5 of possible 6 Nuclear fuel (3 in the head loco, 2 in the tail)