Fix some serious oversights in /statcalc
Fix some serious oversights in /statcalc

Kokonoe-san/Glacia-PS,jd4564/Pokemon-Showdown,TheFenderStory/Pokemon-Showdown,gustavo515/batata,xCrystal/Pokemon-Showdown,Wando94/Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,TheManwithskills/DS,jumbowhales/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Mystifi/Exiled,sirDonovan/Pokemon-Showdown,xfix/Pokemon-Showdown,hayleysworld/serenityc9,PS-Spectral/Spectral,SkyeTheFemaleSylveon/Pokemon-Showdown,panpawn/Pokemon-Showdown,Alpha-Devs/Alpha-Server,Enigami/Pokemon-Showdown,MeliodasBH/boarhat,CreaturePhil/Showdown-Boilerplate,Flareninja/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,Kevinxzllz/PS-Openshift-Server,Elveman/RPCShowdownServer,hayleysworld/serenity,Enigami/Pokemon-Showdown,kuroscafe/Paradox,TheManwithskills/serenity,Hidden-Mia/Roleplay-PS,DB898/theregalias,KewlStatics/Shit,hayleysworld/serenityserver,svivian/Pokemon-Showdown,DB898/theregalias,yashagl/pokemon-showdown,svivian/Pokemon-Showdown,AbsolitoSweep/Absol-server,gustavo515/final,ShowdownHelper/Saffron,Alpha-Devs/OmegaRuby-Server,scotchkorean27/Pokemon-Showdown,AWailOfATail/awoat,gustavo515/test,DesoGit/TsunamiPS,KewlStatics/Showdown-Template,Vacate/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,CreaturePhil/Showdown-Boilerplate,danpantry/Pokemon-Showdown,ZestOfLife/FestiveLife,Lauc1an/Perulink-Showdown,xCrystal/Pokemon-Showdown,Nineage/Origin,ShowdownHelper/Saffron,AustinXII/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,urkerab/Pokemon-Showdown,TheManwithskills/Creature-phil-boiler,Firestatics/Omega-Alpha,azum4roll/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,Pikachuun/Pokemon-Showdown-SMCMDM,CharizardtheFireMage/Showdown-Boilerplate,xfix/Pokemon-Showdown,HoeenCoder/SpacialGaze,AWailOfATail/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,KaitoV4X/Showdown,TbirdClanWish/Pokemon-Showdown,KewlStatics/Alliance,JennyPRO/Jenny,ehk12/bigbangtempclone,AnaRitaTorres/Pokemon-Showdown,kuroscafe/Paradox,Flareninja/Pokemon-Showdown,Lord-Haji/SpacialGaze,psnsVGC/Wish-Server,xfix/Pokemon-Showdown,bai2/Dropp,KewlStatics/Pokeindia-Codes,lAlejandro22/lolipoop,DarkSuicune/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,Pablo000/aaa,Wando94/Spite,Sora-League/Sora,azum4roll/Pokemon-Showdown,HoeenCoder/SpacialGaze,danpantry/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,Ecuacion/Lumen-Pokemon-Showdown,AustinXII/Pokemon-Showdown,Mystifi/Exiled,javi501/Lumen-Pokemon-Showdown,zek7rom/SpacialGaze,panpawn/Gold-Server,TheManwithskills/serenity,QuiteQuiet/Pokemon-Showdown,KaitoV4X/Showdown,Pikachuun/Pokemon-Showdown,ZeroParadox/BlastBurners,Zarel/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,ZeroParadox/BlastBurners,Lord-Haji/SpacialGaze,gustavo515/final,kuroscafe/Showdown-Boilerplate,DesoGit/Tsunami_PS,Mystifi/Exiled,KewlStatics/Shit,TheManwithskills/Creature-phil-boiler,ZeroParadox/ugh,Pikachuun/Pokemon-Showdown,Lauc1an/Perulink-Showdown,ZestOfLife/PSserver,Flareninja/Showdown-Boilerplate,Irraquated/Pokemon-Showdown,panpawn/Gold-Server,HoeenCoder/SpacialGaze,panpawn/Gold-Server,MeliodasBH/boarhat,Vacate/Pokemon-Showdown,Zarel/Pokemon-Showdown,DesoGit/TsunamiPS,EienSeiryuu/Pokemon-Showdown,Pablo000/aaa,yashagl/pokemon-showdown,svivian/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,Sora-League/Sora,Bryan-0/Pokemon-Showdown,Guernouille/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,KewlStatics/Showdown-Template,ehk12/bigbangtempclone,hayleysworld/serenityc9,SolarisFox/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,AustinXII/Pokemon-Showdown,Zarel/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,zek7rom/SpacialGaze,arkanox/MistShowdown,Syurra/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Firestatics/Firestatics46,Wando94/Pokemon-Showdown,TheManwithskills/Dusk--Showdown,ShowdownHelper/Saffron,ehk12/coregit,DesoGit/Tsunami_PS,psnsVGC/Wish-Server,svivian/Pokemon-Showdown,AWailOfATail/awoat,MeliodasBH/Articuno-Land,HoeenCoder/SpacialGaze,TheFenderStory/Pokemon-Showdown,AbsolitoSweep/Absol-server,Elveman/RPCShowdownServer,TheFenderStory/Showdown-Boilerplate,Ecuacion/Pokemon-Showdown,arkanox/MistShowdown,JennyPRO/Jenny,TheManwithskills/Dusk--Showdown,Wando94/Spite,Flareninja/Showdown-Boilerplate,PS-Spectral/Spectral,ScottehMax/Pokemon-Showdown,Enigami/Pokemon-Showdown,PS-Spectral/Spectral,Kokonoe-san/Glacia-PS,bai2/Dropp,scotchkorean27/Pokemon-Showdown,Git-Worm/City-PS,Alpha-Devs/Alpha-Server,KewlStatics/Pokeindia-Codes,Hidden-Mia/Roleplay-PS,Bryan-0/Pokemon-Showdown,Sora-League/Sora,piiiikachuuu/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,yashagl/yash-showdown,ScottehMax/Pokemon-Showdown,ZeroParadox/ugh,ehk12/coregit,aakashrajput/Pokemon-Showdown,Firestatics/Firestatics46,SolarisFox/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,MeliodasBH/Articuno-Land,Git-Worm/City-PS,Lord-Haji/SpacialGaze,yashagl/yash-showdown,TheManwithskills/COC,hayleysworld/serenity,cadaeic/Pokemon-Showdown,Enigami/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,TheManwithskills/COC,svivian/Pokemon-Showdown,hayleysworld/serenityserver,Irraquated/Pokemon-Showdown,theodelhay/test,Firestatics/omega,lAlejandro22/lolipoop,Irraquated/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Volcos/SpacialGaze,TheManwithskills/DS,xfix/Pokemon-Showdown,Firestatics/Omega-Alpha,DesoGit/Tsunami_PS,kotarou3/Krister-Pokemon-Showdown,Volcos/SpacialGaze,gustavo515/test,sirDonovan/Pokemon-Showdown,KewlStatics/Alliance,Ecuacion/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,cadaeic/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Firestatics/omega,xCrystal/Pokemon-Showdown,Nineage/Origin,Kevinxzllz/PS-Openshift-Server,TheFenderStory/Showdown-Boilerplate,BlazingAura/Showdown-Boilerplate,xfix/Pokemon-Showdown,Syurra/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,Guernouille/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,panpawn/Pokemon-Showdown,theodelhay/test,urkerab/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,gustavo515/batata,ZestOfLife/FestiveLife,ZestOfLife/PSserver,SkyeTheFemaleSylveon/Pokemon-Showdown,jd4564/Pokemon-Showdown,urkerab/Pokemon-Showdown