bugfix: empty objects list was interpreted incorrectly