Fixing issue with item_ids