Fix statistics worker bug (zero division)