fix priority mapping
Merge pull request #5483 from ticoann/fix_priority_wmstats

fix priority mapping