Fixed Inventory system so you can successfully remove elements from it.