Treat undefined objects passed into combine as empty objects.

Fixes #1460.