Fix a comparison bug in diff-delta.c