Fixed a nasty bug regarding List -> Array in InventoryHelper