fix total links on agent-specific sales report, RT#5449