$reset() bug fixed: counter and logs are cleared rather than replaced

Hope this helps.