The Forge should now properly cool down when it has run out of fuel
If an item no longer has any nbt tags in its compound when cooling down, the compound should be removed, allowing stacking.