Fix case of agent working but without identities.