Bugfix, fixes #2190
* empty arrays