Handle missing entries in diff.js