for datapackers looking for a workaround :
In a single function file, setting the gamerule DoTileDrops to false before the fill command and back to true after works
It also happends on release 1.15.4, probably a recurring issue in the game
done sorry
confirmed in 1.19.2 by the way