Fixed some networking issues with inventories