Fix arrays with objects

Array of objects were always being marked as differences.

Test case also created for that.