[Fate Core v2] Fix runtime errors (#5655)
[Fate Core v2] Fix runtime errors (#5655)

`isNullOrWhitespace()` expects a string but sometimes receives a number, so I added a check for that. Also, `tim()` is clearly a typo.
Polaris-Dust/roll20-character-sheets,timothystone/roll20-character-sheets,Acyd69/roll20-character-sheets,mantonyz/roll20-character-sheets,Zakarik/roll20-character-sheets,chesster415/roll20-character-sheets,vince-roll20/roll20-character-sheets,finderski/roll20-character-sheets,Zakarik/roll20-character-sheets,ap3h3ad/roll20-character-sheets,suldae/roll20-character-sheets,ap3h3ad/roll20-character-sheets,chesster415/roll20-character-sheets,suldae/roll20-character-sheets,Orta15a/roll20-character-sheets,cypher0n3/roll20-character-sheets,NathaTerrien/roll20-character-sheets,kreuvf/roll20-character-sheets,suldae/roll20-character-sheets,CoalPoweredPuppet/roll20-character-sheets,Polaris-Dust/roll20-character-sheets,timothystone/roll20-character-sheets,chesster415/roll20-character-sheets,NathaTerrien/roll20-character-sheets,timdenee/roll20-character-sheets,devSithun/roll20-character-sheets,mantonyz/roll20-character-sheets,Roll20/roll20-character-sheets,Orta15a/roll20-character-sheets,ap3h3ad/roll20-character-sheets,mantonyz/roll20-character-sheets,Roll20/roll20-character-sheets,finderski/roll20-character-sheets,finderski/roll20-character-sheets,Zakarik/roll20-character-sheets,Roll20/roll20-character-sheets,Roll20/roll20-character-sheets,timdenee/roll20-character-sheets,suldae/roll20-character-sheets,Thalar/roll20-character-sheets,cypher0n3/roll20-character-sheets,chesster415/roll20-character-sheets,finderski/roll20-character-sheets,finderski/roll20-character-sheets,vince-roll20/roll20-character-sheets,kreuvf/roll20-character-sheets,ap3h3ad/roll20-character-sheets,Thalar/roll20-character-sheets,Orta15a/roll20-character-sheets,kreuvf/roll20-character-sheets,timothystone/roll20-character-sheets,kreuvf/roll20-character-sheets,Acyd69/roll20-character-sheets,CoalPoweredPuppet/roll20-character-sheets,vince-roll20/roll20-character-sheets,cypher0n3/roll20-character-sheets,Acyd69/roll20-character-sheets,ap3h3ad/roll20-character-sheets,NathaTerrien/roll20-character-sheets,vince-roll20/roll20-character-sheets,kreuvf/roll20-character-sheets,Roll20/roll20-character-sheets,suldae/roll20-character-sheets,Zakarik/roll20-character-sheets,devSithun/roll20-character-sheets,CoalPoweredPuppet/roll20-character-sheets,NathaTerrien/roll20-character-sheets,Zakarik/roll20-character-sheets,Acyd69/roll20-character-sheets,vince-roll20/roll20-character-sheets,timdenee/roll20-character-sheets,CoalPoweredPuppet/roll20-character-sheets,chesster415/roll20-character-sheets,timothystone/roll20-character-sheets