Change variable naming
[BUGFIX beta] setProperties should handle non-object properties
Merge pull request #9386 from kategengler/fix-object-keys-error

Fix regression in setProperties