Hey, I noticed that when your mod is enabled my logfile is littered with thousands of messages like:
"Warning PrototypeLoader.cpp:204: Value ROOT.recipe.pipe.allow_decomposition was not used." and
"Script @baraws/data-final-fixes.lua:291: pipe"
I therefore suggest, that you add checks to lines 165-168 and 284 that both recipe.normal and recipe.expensive are nil and disable line 291.
Thanks for the consideration!