Prevent "items is undefined" error
Prevent "items is undefined" error

https://app.getsentry.com/scrapinghub/portia/group/70595129/

Youwotma/portia,sntran/portia,anjuncc/portia,sntran/portia,pombredanne/portia,naveenvprakash/portia,livepy/portia,chennqqi/portia,NoisyText/portia,Suninus/portia,Suninus/portia,pombredanne/portia,Suninus/portia,Suninus/portia,naveenvprakash/portia,amikey/portia,livepy/portia,NoisyText/portia,anjuncc/portia,hanicker/portia,NoisyText/portia,chennqqi/portia,PrasannaVenkadesh/portia,naveenvprakash/portia,Youwotma/portia,Youwotma/portia,chennqqi/portia,NicoloPernigo/portia,NicoloPernigo/portia,naveenvprakash/portia,chennqqi/portia,NicoloPernigo/portia,hanicker/portia,amikey/portia,pombredanne/portia,SouthStar/portia,sntran/portia,PrasannaVenkadesh/portia,Youwotma/portia,anjuncc/portia,livepy/portia,anjuncc/portia,sntran/portia,SouthStar/portia,SouthStar/portia,pombredanne/portia,PrasannaVenkadesh/portia,PrasannaVenkadesh/portia,hanicker/portia,SouthStar/portia,hanicker/portia,NicoloPernigo/portia,NoisyText/portia,livepy/portia,amikey/portia,amikey/portia