Fixed issue when updating values for array for hasChanges

fixes #397
Merge branch 'master' of https://github.com/dolittle/Bifrost