Fixed minor reporting bug for nested errors