Fixes

Fix two bugs in create-diff-object