
Mod is the output of a randomizer ( https://archipelago.gg ), of which I'm the author of the randomizer.
If the intended behaviour is to not allow such recipes then I can check for that in the randomizer and blacklist such ingredients for random recipes, though you may want to do the same in Factorio's startup phase.
If the intended behaviour is to allow stacking to satisfy the recipe, then that's not working.