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

## [Commit 3ecdef3](https://github.com/Ramblers-GB/ngx-ramblers/commit/3ecdef37161f6180248bd0f362510ae9fce262e3)

_____

## Bug Fixes

### [**agm-stats**](https://ngx-ramblers.org.uk/admin/members/agm-stats "{{siteUrl}}"): 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.