Fix regression with _flattenUpdateData.
Merge pull request #4 from sergeykalenyuk/master

Fix regression with _flattenUpdateData.