Fix for agent names with spaces and quotes.