Fix pre-cache of EDM for items.