fix agentnum/refnum criteria in accounting summary, #23660, apparent fallout from...