Removed bug for graph display of agent with type and no parent