Fixed crash when using freed item's edict.