Collapse handoff history before counting current backlog
Current-backlog analytics must not count every historical handoff whose issue is presently human-owned. Mutable issue state is repeated across historical assignment rows, so grouping by agent and issue can attribute one open issue to several past agents. First select the latest h…