fixed bug in conversion of inventories with parcels with same positions