Agent Validation Error after deleting an Agent