Fix crash in dexsearch
Fix crash in dexsearch

Vacate/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,yashagl/pokemon-showdown,sirDonovan/Pokemon-Showdown,Lord-Haji/SpacialGaze,Zarel/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,kuroscafe/Paradox,ShowdownHelper/Saffron,Lord-Haji/SpacialGaze,PS-Spectral/Spectral,xCrystal/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,xfix/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,Hidden-Mia/Roleplay-PS,Mystifi/Exiled,KewlStatics/Showdown-Template,AustinXII/Pokemon-Showdown,jd4564/Pokemon-Showdown,PS-Spectral/Spectral,kuroscafe/Paradox,Nineage/Origin,ZestOfLife/PSserver,DesoGit/Tsunami_PS,svivian/Pokemon-Showdown,HoeenCoder/SpacialGaze,kotarou3/Krister-Pokemon-Showdown,arkanox/MistShowdown,CreaturePhil/Showdown-Boilerplate,AbsolitoSweep/Absol-server,Sora-League/Sora,Elveman/RPCShowdownServer,AustinXII/Pokemon-Showdown,Wando94/Spite,Volcos/SpacialGaze,azum4roll/Pokemon-Showdown,Firestatics/Omega-Alpha,KewlStatics/Shit,Alpha-Devs/OmegaRuby-Server,Firestatics/omega,zek7rom/SpacialGaze,Irraquated/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,TheManwithskills/COC,Mystifi/Exiled,TheManwithskills/Creature-phil-boiler,danpantry/Pokemon-Showdown,KewlStatics/Shit,Volcos/SpacialGaze,aakashrajput/Pokemon-Showdown,ZestOfLife/FestiveLife,Lauc1an/Perulink-Showdown,AnaRitaTorres/Pokemon-Showdown,Enigami/Pokemon-Showdown,KewlStatics/Alliance,Lauc1an/Perulink-Showdown,KewlStatics/Showdown-Template,danpantry/Pokemon-Showdown,psnsVGC/Wish-Server,Flareninja/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown-SMCMDM,panpawn/Gold-Server,xfix/Pokemon-Showdown,xCrystal/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Firestatics/omega,aakashrajput/Pokemon-Showdown,DesoGit/Tsunami_PS,panpawn/Gold-Server,Vacate/Pokemon-Showdown,ShowdownHelper/Saffron,Zarel/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,HoeenCoder/SpacialGaze,xfix/Pokemon-Showdown,TheManwithskills/DS,Guernouille/Pokemon-Showdown,TheManwithskills/COC,aakashrajput/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,yashagl/yash-showdown,kuroscafe/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown-SMCMDM,Firestatics/Omega-Alpha,svivian/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,SSJGVegito007/Vegito-s-Server,TheFenderStory/Showdown-Boilerplate,arkanox/MistShowdown,urkerab/Pokemon-Showdown,zek7rom/SpacialGaze,psnsVGC/Wish-Server,yashagl/pokemon-showdown,Irraquated/Pokemon-Showdown,ehk12/coregit,SkyeTheFemaleSylveon/Pokemon-Showdown,Enigami/Pokemon-Showdown,Alpha-Devs/Alpha-Server,urkerab/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,azum4roll/Pokemon-Showdown,cadaeic/Pokemon-Showdown,xCrystal/Pokemon-Showdown,yashagl/yash-showdown,KewlStatics/Alliance,EienSeiryuu/Pokemon-Showdown,panpawn/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,urkerab/Pokemon-Showdown,PS-Spectral/Spectral,Zarel/Pokemon-Showdown,Git-Worm/City-PS,ZestOfLife/FestiveLife,QuiteQuiet/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,TheFenderStory/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,jd4564/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,Lord-Haji/SpacialGaze,Nineage/Origin,Mystifi/Exiled,EienSeiryuu/Pokemon-Showdown,xfix/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,TheManwithskills/DS,Pikachuun/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,ZestOfLife/PSserver,Sora-League/Sora,Kokonoe-san/Glacia-PS,Syurra/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,Bryan-0/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Enigami/Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,HoeenCoder/SpacialGaze,Elveman/RPCShowdownServer,panpawn/Pokemon-Showdown,Syurra/Pokemon-Showdown,DesoGit/Tsunami_PS,xfix/Pokemon-Showdown,DesoGit/TsunamiPS,Guernouille/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,panpawn/Gold-Server,SolarisFox/Pokemon-Showdown,Wando94/Spite,AbsolitoSweep/Absol-server,HoeenCoder/SpacialGaze,ShowdownHelper/Saffron,svivian/Pokemon-Showdown,Kokonoe-san/Glacia-PS,DesoGit/TsunamiPS,svivian/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,Hidden-Mia/Roleplay-PS,Git-Worm/City-PS,SSJGVegito007/Vegito-s-Server,Alpha-Devs/OmegaRuby-Server,TbirdClanWish/Pokemon-Showdown,ehk12/coregit,Enigami/Pokemon-Showdown,Alpha-Devs/Alpha-Server,Sora-League/Sora,TheFenderStory/Showdown-Boilerplate,AnaRitaTorres/Pokemon-Showdown,cadaeic/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,TheFenderStory/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,svivian/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,AustinXII/Pokemon-Showdown,Irraquated/Pokemon-Showdown