Fixing exception when there are no items in the main menu
Fixing exception when there are no items in the main menu

--HG--
branch : 1.x

Fogolan/OrchardForWork,hhland/Orchard,armanforghani/Orchard,escofieldnaxos/Orchard,jagraz/Orchard,ehe888/Orchard,RoyalVeterinaryCollege/Orchard,vard0/orchard.tan,harmony7/Orchard,Ermesx/Orchard,Cphusion/Orchard,JRKelso/Orchard,armanforghani/Orchard,kouweizhong/Orchard,tobydodds/folklife,mvarblow/Orchard,sfmskywalker/Orchard,Cphusion/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,arminkarimi/Orchard,austinsc/Orchard,AdvantageCS/Orchard,jchenga/Orchard,gcsuk/Orchard,m2cms/Orchard,yonglehou/Orchard,SouleDesigns/SouleDesigns.Orchard,qt1/Orchard,SouleDesigns/SouleDesigns.Orchard,andyshao/Orchard,mvarblow/Orchard,SeyDutch/Airbrush,OrchardCMS/Orchard,xiaobudian/Orchard,jersiovic/Orchard,AdvantageCS/Orchard,dcinzona/Orchard-Harvest-Website,salarvand/Portal,salarvand/orchard,dmitry-urenev/extended-orchard-cms-v10.1,kouweizhong/Orchard,dcinzona/Orchard-Harvest-Website,hhland/Orchard,dburriss/Orchard,alejandroaldana/Orchard,jimasp/Orchard,oxwanawxo/Orchard,jchenga/Orchard,yonglehou/Orchard,mvarblow/Orchard,patricmutwiri/Orchard,mgrowan/Orchard,Lombiq/Orchard,DonnotRain/Orchard,Sylapse/Orchard.HttpAuthSample,TalaveraTechnologySolutions/Orchard,bedegaming-aleksej/Orchard,hhland/Orchard,qt1/Orchard,openbizgit/Orchard,smartnet-developers/Orchard,MetSystem/Orchard,OrchardCMS/Orchard-Harvest-Website,AdvantageCS/Orchard,hannan-azam/Orchard,escofieldnaxos/Orchard,AndreVolksdorf/Orchard,qt1/orchard4ibn,SzymonSel/Orchard,aaronamm/Orchard,SeyDutch/Airbrush,TaiAivaras/Orchard,luchaoshuai/Orchard,SeyDutch/Airbrush,tobydodds/folklife,gcsuk/Orchard,SouleDesigns/SouleDesigns.Orchard,patricmutwiri/Orchard,emretiryaki/Orchard,planetClaire/Orchard-LETS,fortunearterial/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,abhishekluv/Orchard,fortunearterial/Orchard,sfmskywalker/Orchard,KeithRaven/Orchard,Lombiq/Orchard,Fogolan/OrchardForWork,sfmskywalker/Orchard,bigfont/orchard-cms-modules-and-themes,omidnasri/Orchard,brownjordaninternational/OrchardCMS,Dolphinsimon/Orchard,johnnyqian/Orchard,Dolphinsimon/Orchard,kouweizhong/Orchard,luchaoshuai/Orchard,angelapper/Orchard,salarvand/orchard,jimasp/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,sebastienros/msc,MpDzik/Orchard,MetSystem/Orchard,RoyalVeterinaryCollege/Orchard,angelapper/Orchard,JRKelso/Orchard,jersiovic/Orchard,RoyalVeterinaryCollege/Orchard,yersans/Orchard,spraiin/Orchard,kouweizhong/Orchard,salarvand/Portal,hbulzy/Orchard,MetSystem/Orchard,Praggie/Orchard,marcoaoteixeira/Orchard,luchaoshuai/Orchard,ericschultz/outercurve-orchard,kgacova/Orchard,Dolphinsimon/Orchard,qt1/orchard4ibn,sebastienros/msc,jagraz/Orchard,jerryshi2007/Orchard,dburriss/Orchard,cryogen/orchard,planetClaire/Orchard-LETS,OrchardCMS/Orchard,hbulzy/Orchard,spraiin/Orchard,abhishekluv/Orchard,LaserSrl/Orchard,caoxk/orchard,Sylapse/Orchard.HttpAuthSample,hhland/Orchard,phillipsj/Orchard,dcinzona/Orchard,TalaveraTechnologySolutions/Orchard,abhishekluv/Orchard,salarvand/Portal,vairam-svs/Orchard,rtpHarry/Orchard,escofieldnaxos/Orchard,jerryshi2007/Orchard,neTp9c/Orchard,emretiryaki/Orchard,AdvantageCS/Orchard,DonnotRain/Orchard,Codinlab/Orchard,Inner89/Orchard,stormleoxia/Orchard,harmony7/Orchard,TalaveraTechnologySolutions/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,Inner89/Orchard,mgrowan/Orchard,vairam-svs/Orchard,infofromca/Orchard,huoxudong125/Orchard,xkproject/Orchard,yonglehou/Orchard,grapto/Orchard.CloudBust,phillipsj/Orchard,RoyalVeterinaryCollege/Orchard,yersans/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,rtpHarry/Orchard,bigfont/orchard-cms-modules-and-themes,jerryshi2007/Orchard,Praggie/Orchard,Serlead/Orchard,Anton-Am/Orchard,AndreVolksdorf/Orchard,rtpHarry/Orchard,ehe888/Orchard,caoxk/orchard,andyshao/Orchard,dburriss/Orchard,vard0/orchard.tan,vard0/orchard.tan,asabbott/chicagodevnet-website,grapto/Orchard.CloudBust,enspiral-dev-academy/Orchard,Codinlab/Orchard,fassetar/Orchard,salarvand/orchard,Morgma/valleyviewknolls,sebastienros/msc,Serlead/Orchard,dozoft/Orchard,openbizgit/Orchard,xkproject/Orchard,kouweizhong/Orchard,IDeliverable/Orchard,bedegaming-aleksej/Orchard,Sylapse/Orchard.HttpAuthSample,omidnasri/Orchard,MpDzik/Orchard,geertdoornbos/Orchard,AndreVolksdorf/Orchard,marcoaoteixeira/Orchard,DonnotRain/Orchard,sebastienros/msc,vairam-svs/Orchard,Codinlab/Orchard,ehe888/Orchard,qt1/Orchard,salarvand/orchard,luchaoshuai/Orchard,mgrowan/Orchard,KeithRaven/Orchard,dburriss/Orchard,alejandroaldana/Orchard,patricmutwiri/Orchard,brownjordaninternational/OrchardCMS,jaraco/orchard,Serlead/Orchard,phillipsj/Orchard,aaronamm/Orchard,grapto/Orchard.CloudBust,smartnet-developers/Orchard,hannan-azam/Orchard,jtkech/Orchard,vairam-svs/Orchard,MpDzik/Orchard,asabbott/chicagodevnet-website,Cphusion/Orchard,arminkarimi/Orchard,jchenga/Orchard,sfmskywalker/Orchard,AEdmunds/beautiful-springtime,huoxudong125/Orchard,Praggie/Orchard,escofieldnaxos/Orchard,qt1/Orchard,TalaveraTechnologySolutions/Orchard,qt1/Orchard,xkproject/Orchard,infofromca/Orchard,TaiAivaras/Orchard,DonnotRain/Orchard,stormleoxia/Orchard,emretiryaki/Orchard,SzymonSel/Orchard,salarvand/Portal,fassetar/Orchard,openbizgit/Orchard,kgacova/Orchard,tobydodds/folklife,m2cms/Orchard,jagraz/Orchard,OrchardCMS/Orchard,escofieldnaxos/Orchard,smartnet-developers/Orchard,Codinlab/Orchard,xiaobudian/Orchard,mvarblow/Orchard,dburriss/Orchard,hannan-azam/Orchard,patricmutwiri/Orchard,Lombiq/Orchard,caoxk/orchard,cooclsee/Orchard,SeyDutch/Airbrush,jerryshi2007/Orchard,stormleoxia/Orchard,JRKelso/Orchard,gcsuk/Orchard,mvarblow/Orchard,vard0/orchard.tan,jagraz/Orchard,oxwanawxo/Orchard,AEdmunds/beautiful-springtime,austinsc/Orchard,TaiAivaras/Orchard,enspiral-dev-academy/Orchard,johnnyqian/Orchard,sfmskywalker/Orchard,xiaobudian/Orchard,IDeliverable/Orchard,bedegaming-aleksej/Orchard,infofromca/Orchard,Lombiq/Orchard,emretiryaki/Orchard,bigfont/orchard-cms-modules-and-themes,bedegaming-aleksej/Orchard,dozoft/Orchard,KeithRaven/Orchard,SzymonSel/Orchard,MetSystem/Orchard,stormleoxia/Orchard,bigfont/orchard-continuous-integration-demo,hbulzy/Orchard,Inner89/Orchard,hbulzy/Orchard,dcinzona/Orchard-Harvest-Website,Morgma/valleyviewknolls,aaronamm/Orchard,omidnasri/Orchard,arminkarimi/Orchard,vard0/orchard.tan,MpDzik/Orchard,Praggie/Orchard,ehe888/Orchard,Sylapse/Orchard.HttpAuthSample,hhland/Orchard,jaraco/orchard,yonglehou/Orchard,openbizgit/Orchard,brownjordaninternational/OrchardCMS,alejandroaldana/Orchard,cryogen/orchard,Inner89/Orchard,ericschultz/outercurve-orchard,Morgma/valleyviewknolls,OrchardCMS/Orchard,brownjordaninternational/OrchardCMS,neTp9c/Orchard,Serlead/Orchard,arminkarimi/Orchard,huoxudong125/Orchard,KeithRaven/Orchard,Fogolan/OrchardForWork,dmitry-urenev/extended-orchard-cms-v10.1,enspiral-dev-academy/Orchard,NIKASoftwareDevs/Orchard,qt1/orchard4ibn,omidnasri/Orchard,ericschultz/outercurve-orchard,LaserSrl/Orchard,angelapper/Orchard,IDeliverable/Orchard,TalaveraTechnologySolutions/Orchard,kgacova/Orchard,RoyalVeterinaryCollege/Orchard,oxwanawxo/Orchard,hbulzy/Orchard,hannan-azam/Orchard,harmony7/Orchard,asabbott/chicagodevnet-website,JRKelso/Orchard,armanforghani/Orchard,planetClaire/Orchard-LETS,austinsc/Orchard,rtpHarry/Orchard,phillipsj/Orchard,asabbott/chicagodevnet-website,marcoaoteixeira/Orchard,Sylapse/Orchard.HttpAuthSample,m2cms/Orchard,TalaveraTechnologySolutions/Orchard,gcsuk/Orchard,gcsuk/Orchard,vard0/orchard.tan,fortunearterial/Orchard,patricmutwiri/Orchard,Anton-Am/Orchard,SouleDesigns/SouleDesigns.Orchard,dmitry-urenev/extended-orchard-cms-v10.1,Codinlab/Orchard,MpDzik/Orchard,Morgma/valleyviewknolls,planetClaire/Orchard-LETS,TaiAivaras/Orchard,bigfont/orchard-cms-modules-and-themes,jimasp/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,tobydodds/folklife,vairam-svs/Orchard,li0803/Orchard,li0803/Orchard,fortunearterial/Orchard,stormleoxia/Orchard,fassetar/Orchard,Dolphinsimon/Orchard,OrchardCMS/Orchard,Dolphinsimon/Orchard,brownjordaninternational/OrchardCMS,infofromca/Orchard,jchenga/Orchard,dozoft/Orchard,yersans/Orchard,Ermesx/Orchard,xiaobudian/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,smartnet-developers/Orchard,bigfont/orchard-continuous-integration-demo,jchenga/Orchard,aaronamm/Orchard,dozoft/Orchard,sfmskywalker/Orchard,tobydodds/folklife,LaserSrl/Orchard,li0803/Orchard,oxwanawxo/Orchard,arminkarimi/Orchard,infofromca/Orchard,cooclsee/Orchard,aaronamm/Orchard,Praggie/Orchard,geertdoornbos/Orchard,spraiin/Orchard,geertdoornbos/Orchard,OrchardCMS/Orchard-Harvest-Website,jimasp/Orchard,abhishekluv/Orchard,salarvand/Portal,sebastienros/msc,alejandroaldana/Orchard,DonnotRain/Orchard,harmony7/Orchard,enspiral-dev-academy/Orchard,m2cms/Orchard,dozoft/Orchard,Morgma/valleyviewknolls,johnnyqian/Orchard,johnnyqian/Orchard,AdvantageCS/Orchard,m2cms/Orchard,jtkech/Orchard,OrchardCMS/Orchard-Harvest-Website,grapto/Orchard.CloudBust,cooclsee/Orchard,SzymonSel/Orchard,jtkech/Orchard,Fogolan/OrchardForWork,ehe888/Orchard,LaserSrl/Orchard,andyshao/Orchard,ericschultz/outercurve-orchard,rtpHarry/Orchard,geertdoornbos/Orchard,xiaobudian/Orchard,fassetar/Orchard,omidnasri/Orchard,andyshao/Orchard,austinsc/Orchard,dcinzona/Orchard,Ermesx/Orchard,OrchardCMS/Orchard-Harvest-Website,spraiin/Orchard,cryogen/orchard,Lombiq/Orchard,jersiovic/Orchard,LaserSrl/Orchard,OrchardCMS/Orchard-Harvest-Website,johnnyqian/Orchard,mgrowan/Orchard,harmony7/Orchard,smartnet-developers/Orchard,AndreVolksdorf/Orchard,abhishekluv/Orchard,jersiovic/Orchard,jtkech/Orchard,geertdoornbos/Orchard,JRKelso/Orchard,alejandroaldana/Orchard,cooclsee/Orchard,openbizgit/Orchard,cooclsee/Orchard,jersiovic/Orchard,tobydodds/folklife,grapto/Orchard.CloudBust,Ermesx/Orchard,jerryshi2007/Orchard,armanforghani/Orchard,kgacova/Orchard,jagraz/Orchard,SouleDesigns/SouleDesigns.Orchard,yersans/Orchard,xkproject/Orchard,fassetar/Orchard,MetSystem/Orchard,Cphusion/Orchard,xkproject/Orchard,MpDzik/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,mgrowan/Orchard,NIKASoftwareDevs/Orchard,abhishekluv/Orchard,Cphusion/Orchard,jaraco/orchard,NIKASoftwareDevs/Orchard,qt1/orchard4ibn,AEdmunds/beautiful-springtime,dcinzona/Orchard,neTp9c/Orchard,Ermesx/Orchard,dcinzona/Orchard,marcoaoteixeira/Orchard,spraiin/Orchard,emretiryaki/Orchard,Fogolan/OrchardForWork,cryogen/orchard,dcinzona/Orchard-Harvest-Website,planetClaire/Orchard-LETS,IDeliverable/Orchard,neTp9c/Orchard,angelapper/Orchard,dcinzona/Orchard-Harvest-Website,NIKASoftwareDevs/Orchard,IDeliverable/Orchard,omidnasri/Orchard,Anton-Am/Orchard,TaiAivaras/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,TalaveraTechnologySolutions/Orchard,li0803/Orchard,bedegaming-aleksej/Orchard,huoxudong125/Orchard,andyshao/Orchard,Anton-Am/Orchard,caoxk/orchard,yersans/Orchard,AEdmunds/beautiful-springtime,oxwanawxo/Orchard,bigfont/orchard-continuous-integration-demo,qt1/orchard4ibn,omidnasri/Orchard,angelapper/Orchard,Serlead/Orchard,enspiral-dev-academy/Orchard,luchaoshuai/Orchard,TalaveraTechnologySolutions/Orchard,li0803/Orchard,jtkech/Orchard,marcoaoteixeira/Orchard,KeithRaven/Orchard,omidnasri/Orchard,sfmskywalker/Orchard,jaraco/orchard,armanforghani/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,SzymonSel/Orchard,jimasp/Orchard,austinsc/Orchard,Anton-Am/Orchard,bigfont/orchard-cms-modules-and-themes,sfmskywalker/Orchard,dcinzona/Orchard-Harvest-Website,SeyDutch/Airbrush,Inner89/Orchard,fortunearterial/Orchard,neTp9c/Orchard,grapto/Orchard.CloudBust,NIKASoftwareDevs/Orchard,OrchardCMS/Orchard-Harvest-Website,yonglehou/Orchard,bigfont/orchard-continuous-integration-demo,AndreVolksdorf/Orchard,phillipsj/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,huoxudong125/Orchard,salarvand/orchard,qt1/orchard4ibn,omidnasri/Orchard,dcinzona/Orchard,kgacova/Orchard,hannan-azam/Orchard