fix: record task duration per task-series-id (not task-id).