When agententry is merged with agentexit/decomschedule to form the Agents df, the wrong exit is assigned if all three tables don't have the same number of rows due to inner join
Proposed fix, change the merge to be an outer join rather than an inner join (need to check this)
Proposed fix, change the merge to be an outer join rather than an inner join (need to check this)