Support for iterating across (-a) empty objects/arrays. Fixed bug that could
occur with nested iterations.