Fix access to origData on update of 'set' types.
Merge pull request #4 from sergeykalenyuk/master

Fix regression with _flattenUpdateData.
Merge remote branch 'origin/fix-array-origdata'
Fix flatten after merge.