Agents index ui fixes

Some minor fixes for the agents index in the user interface