Thanks! Problematic oil field found, and the other nearby one as well. Save files are the best!
So it would appear there's 2 issues at play, as you already foreshadowed by noticing the other field has no enclosed oil well but still had a problem.
The 2nd issue is a limitation P.U.M.P. currently has. It currently works only with straight lines, and only with above-ground logic. Which goes really well in vanilla, but reaches dead-ends quickly in compact fields like this. I even make a mention of this limitation in the mod's description.
I knew sooner or later this would come back to haunt me. I'm surprised it took this long!. :D
Anyway, I had hoped to give this a quick patch for the enclosed well. I was able to detect and exclude it in the logic. But in your game it looks like that's worthless fix if I don't address the 2nd issue, too. Which is unfortunately more complex and I won't be able to fix in a short timeframe. I'll let you know when I managed it. :-)