[PATCH] diff: fix the culling of unneeded delete record.