Fixes 500 server error when there's no broker company assigned to agent.