Alright. I've attempted to put a quick, general fix to prevent this type of issue from breaking compatibility. However, it might leave a recipe in a slightly "too favorable" unbalanced state. Not a big deal though, nothing actually free, just cheaper. I can look into a more balanced long-term fix, but wanted to get this out soon.
One other note: I didn't originally intend for the "X with refractory" recipes to support some of the endgame ores like imersium and naquium. I will likely have to change some logic to detect recipe outputs instead of recipe names, because I didn't know about the "se-naquium-ingot-GDIW-IR-refractory"
recipe (probably from a different mod?).