Hello Gerald, thank you for your well-researched bug report and your patch. I used your pach as the start for a slightly different implementation: reversing the current logic and thus hopefully working nicely with other implementations, as well.
Here is the commit: https://github.com/munin-monitoring/munin/commit/678c310ffe95225e6c4479b346774828074f1628 I just released it as part of munin 2.0.64. The new Debian package will be uploaded in the next days ... Cheers, Lars