fix call of expandObjBy with undefined
Merge pull request #1517 from frissdiegurke/patch-1

fix call of expandObjBy with undefined