CSPACE-5982: Fix script error when no fields are returned.
CSPACE-5982: Fix script error when no fields are returned.

cherryhill/collectionspace-ui,cspace-deployment/ui,cspace-deployment/ui,cspace-deployment/ui,cspace-deployment/ui,cherryhill/collectionspace-ui,cspace-deployment/ui,cherryhill/collectionspace-ui,cherryhill/collectionspace-ui