This mod allows player placed items to automatically be filled with ammo and fuel: https://mods.factorio.com/mod/automatic-fill
The problem is that when the turret range upgrades change the turret entities, the automatic fill is no longer able to detect them, thus unable to autofill them.
After investigation, the author of Automatic Fill concluded that the way the Endgame Combat mod is made, it is unable to provide support to Endgame Combat and instead Endgame Combat needs to provide support to Automatic Fill.