Fix crash in dexsearch
Fix crash in dexsearch

svivian/Pokemon-Showdown,KewlStatics/Shit,azum4roll/Pokemon-Showdown,Sora-League/Sora,TbirdClanWish/Pokemon-Showdown,DesoGit/TsunamiPS,jumbowhales/Pokemon-Showdown,cadaeic/Pokemon-Showdown,svivian/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,CharizardtheFireMage/Showdown-Boilerplate,xfix/Pokemon-Showdown,PS-Spectral/Spectral,KewlStatics/Alliance,aakashrajput/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,QuiteQuiet/Pokemon-Showdown,Enigami/Pokemon-Showdown,AustinXII/Pokemon-Showdown,Enigami/Pokemon-Showdown,KewlStatics/Showdown-Template,AWailOfATail/Pokemon-Showdown,Lord-Haji/SpacialGaze,Irraquated/Pokemon-Showdown,jd4564/Pokemon-Showdown,DesoGit/Tsunami_PS,Pikachuun/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,HoeenCoder/SpacialGaze,ZestOfLife/FestiveLife,Lord-Haji/SpacialGaze,DesoGit/Tsunami_PS,Flareninja/Showdown-Boilerplate,Mystifi/Exiled,Irraquated/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,HoeenCoder/SpacialGaze,HoeenCoder/SpacialGaze,Kokonoe-san/Glacia-PS,sirDonovan/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,KewlStatics/Alliance,Mystifi/Exiled,AustinXII/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,TbirdClanWish/Pokemon-Showdown,xfix/Pokemon-Showdown,ShowdownHelper/Saffron,xCrystal/Pokemon-Showdown,Zarel/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,Volcos/SpacialGaze,urkerab/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,Wando94/Spite,PS-Spectral/Spectral,KewlStatics/Shit,SolarisFox/Pokemon-Showdown,arkanox/MistShowdown,CreaturePhil/Showdown-Boilerplate,panpawn/Pokemon-Showdown,ZestOfLife/FestiveLife,Guernouille/Pokemon-Showdown,panpawn/Gold-Server,svivian/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Sora-League/Sora,danpantry/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,zek7rom/SpacialGaze,DarkSuicune/Pokemon-Showdown,danpantry/Pokemon-Showdown,xfix/Pokemon-Showdown,panpawn/Gold-Server,Mystifi/Exiled,xCrystal/Pokemon-Showdown,Pikachuun/Pokemon-Showdown,Vacate/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,ShowdownHelper/Saffron,PS-Spectral/Spectral,Bryan-0/Pokemon-Showdown,zek7rom/SpacialGaze,ZestOfLife/PSserver,SolarisFox/Pokemon-Showdown,ShowdownHelper/Saffron,AWailOfATail/Pokemon-Showdown,urkerab/Pokemon-Showdown,Vacate/Pokemon-Showdown,Alpha-Devs/Alpha-Server,CharizardtheFireMage/Showdown-Boilerplate,Irraquated/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,KewlStatics/Showdown-Template,Enigami/Pokemon-Showdown,Zarel/Pokemon-Showdown,Hidden-Mia/Roleplay-PS,jd4564/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,Lord-Haji/SpacialGaze,SkyeTheFemaleSylveon/Pokemon-Showdown,Sora-League/Sora,cadaeic/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,Enigami/Pokemon-Showdown,Wando94/Spite,panpawn/Gold-Server,Guernouille/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Elveman/RPCShowdownServer,AnaRitaTorres/Pokemon-Showdown,Elveman/RPCShowdownServer,xfix/Pokemon-Showdown,Git-Worm/City-PS,aakashrajput/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,Alpha-Devs/Alpha-Server,EienSeiryuu/Pokemon-Showdown,HoeenCoder/SpacialGaze,arkanox/MistShowdown,Hidden-Mia/Roleplay-PS,xCrystal/Pokemon-Showdown,Zarel/Pokemon-Showdown,xfix/Pokemon-Showdown,urkerab/Pokemon-Showdown,AustinXII/Pokemon-Showdown,ZestOfLife/PSserver,svivian/Pokemon-Showdown,Kokonoe-san/Glacia-PS,DesoGit/TsunamiPS,TheFenderStory/Pokemon-Showdown,Git-Worm/City-PS,Volcos/SpacialGaze,panpawn/Pokemon-Showdown,DesoGit/Tsunami_PS,svivian/Pokemon-Showdown