Fix crashes in new validator
Fix crashes in new validator

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