Thanks for this modification! Just compiled+upped, hopefully after next mapload (maptime: 1200 minutes ;)9 it's working fine.
EDIT:
Hm, yesterday I changed the sma to reset daily, set maptime to 300, changed the map and today all stats are unchanged.
EDIT2:
Definitely doesnt resets the stats for five days now