Small improvement to extradata-dependent items

containerid for bags and boxes is now stored in the second array slot.