changedAttributes() with parameters is not always working

When you change a nested property and query for the changedAttributes({toplevelProperty:{...}}, the nested properties were returned with undefined as value.

With the attached code you should get the real diff.