When you JSON.stringify an object, it omit keys that has `undefined` value. That means for the result coming back from deletedDiff needs a replacer for JSON.stringify to keep the key. It's a small thing, but if you were not aware of it, like I did, you get tripped by it.