added more protection in the item inventory. We should probably add a level of protection to openperipheral PIM condenseItems(), too, in case there's any issues with extra utils or similar.