create-diff-object: don't replace section ref with section

Don't replace a section reference with a section reference (duh).

Fixes #225.