Had similar problems with our L2 back in the 1970's and later with our N7.
Filters changed, lines, pumps and etc all checked out OK.
The following is from memories from over 30 years ago so I hope I can remember correctly and get this right.
First off in the L2 was the internal tank filter on the fuel outlet pipe.
Even though the fuel flow seemed OK we found that this filter was partially blocked by very fine dust particles which as it turned out, over a period of time had got into the tank via the vent hole in the cap.
The filter can be unscrewed or removed by somebody with a reasonably small hand reaching in down through the L2 tank fill hole and removing the internal phosphor bronze or fine mesh filter from the outlet line.
Check the parts book for any illustrated internal tank filter.
Those parts books are a mine of information on how the Gleaners go together.
The second and as it turned out the real problem was that the small air vent hole in the fuel tank cap was getting blocked by fine dust leading to low pressure in the tank and the starving of the engine for fuel.
With the cap off the engine ran fine as there was no low tank pressure and no fuel starvation.
The fuel tank air vent hole in the cap was drilled out to 1/4" but all that did was to allow more dust into the tank and block that internal line filter.
The solution was to place a small tin upside down over the cap to keep the vent hole free from dust settling directly on it.
Or as below with the N7, a rag folded a number of times and an old O ring to keep it on and covering the fuel tank cap kept the dust from blocking the cap vent hole. The rag at least didn't blow off in strong winds!
End of problem!
Same problem with the N7 fuel tank lid vent which blocked with dust and starved the engine for fuel.
There we just folded a heavy rag a few times to give a good thickness filter and used an old O ring to keep the rag over the fuel cap.
That was the solution to that problem as well.
The R series have a separate fuel line air vent up inside of the grain tank and after some years of work, ours definitely needed cleaning this year as it too was starting to get a good coating of very fine dust over it.