Having cleaned up the DiffElement code to use raw DOM operations instead of jQuery, we can see that the actual DOM being returned is less correct that we thought:
The removed cells are actually nested inside the cells to their left, but jQuery was fixing this: