Corrected bugs with handling string values in Item IDs.