Perfect, thanks.
Fixing this bug is very easy. I also decided to load into memory all data, it should improve performance.
To upgrade to version 1.0.2, all you have to do is:
1. Uninstall the vBMicrostats product but leave
class_core.php and
init.php code modifications in place.
They are good.
2. Delete folder /plugins.
3. Download the new 1.0.2 .zip file.
4. Run the product-vbmicrostats.xml installer.
5. Enable all BB MicroStats options, like before.
You are done.