fix bug from "View customers of all agents" addition