Hello,
there was a mod called Breakable Landfill, which had the same functions and similar bugs to this one.
See https://mods.factorio.com/mod/breakable-landfill/discussion/5ec14c18458184000cb365d0 for more information.
Anyway, here are 2 bugs I encountered with your mod:
1.) You can fill out entire water pools with just 1 landfill and any other tiles, like stone path.
How does it work: First you place landfill, then you place stone path. What happens is you get landfill back into your inventory,
which you can reuse it again, as long as you have any other tiles to place. But the water pool is still filled though.
If you remove the stone path, you get your water pool back.
2.) On the landfill, if you place any structures and remove the landfill again, the structure is deleted without getting it back into your inventory.
This also happens with the stone path or any other tiles you placed on the landfill before (reference to the first bug).
Is it possible to fix those bugs ?
Thank you in advance and have a nice day !