Fix for small bug in monitor stats.