Improve handling of empty hotstats datastructure