Fixed bug for affilations that did not excists