About the first thing, that probably happens because these chests must have their filters set to “All”
Unfortunately this is something that is part of the game; when something is set to “All” it will accept all stuffs, even stuffs that have no filters of their own - for example, hot glass filters only appear on annealing forges - to make sure that you can only place them in there - but if you give the “All” filter to any container, it will accept hot glass too. As I mentioned, this is unfortunately something that happens because of how the game/storage works
As for the second thing, this seems to be an error caused because a glass piece “cooled” inside a container that it shouldn’t have been in? I’m not quite sure, but it seems to actually not be able to index the inventory local variable which (if I remember correctly) is the inventory of the player_id. I’ll have to investigate I guess
Thank you for the report!
As a temporary fix, you could try not having containers with the “All” tag set up - at least not close to the place where you make glass