Added Valid Item Check for Nil ItemID