fixes https://github.com/HearthStats/hearthstats/commit/24fadf5129a1a2b3...

...e69af13e6a415075eb2e85a6#commitcomment-6758874