Handle disabled agents better in dot_helper