Fixes a few minor bugs in monitoring.
Fix event rate calculation.
Merge pull request #5135 from dmitrijus/minormonitoringfix

Fix a few minor bugs in Online DQM monitoring