Dont divide threholds when wmstats is not available
Merge pull request #5193 from lucacopa/fix_wmstats_not_available

Don't divide threholds when wmstats is not available