Fix diff bugs causing incorrect diffs to be sent.