# 24-Nov-2025 — exclude cancelled and deleted walks from leader counts in local mode [#90](https://github.com/nbarrett/ngx-ramblers/issues/90)

## [Commit 8c67eed](https://github.com/nbarrett/ngx-ramblers/commit/8c67eedb6a2b7150d07959ff08e8b5a0b565431d)

_____

## Bug Fixes

### **agm-stats**: exclude cancelled and deleted walks from leader counts in local mode

The issue: Walk leader counts only matched confirmed walks, but detail tables showed all non-cancelled, non-deleted walks. This caused discrepancies (e.g., Amanda G showing 2 walks in count but 5 in detail, then 6 after first fix).
The fix: For local mode, change confirmedStatusMatch to exclude both 'cancelled' and 'deleted' status, matching the logic in classifyLocalWalk (line 823-829) which filters out cancelled walks from morning/evening classifications.
This ensures leader walkCount matches the walks shown in detail tables.