Describe the bug
There is an issue with running %%gremlin queries where there is a valueMap() or fold() step, and an empty list or map is returned in the results set. A ValueError exception occurs, and the widgets fail to display. This bug does not appear to affect results sets that are fully empty.

Desktop (please complete the following information):
- OS: MacOSX Monterey
- Browser: Firefox
- Version: 3.6.0