Added a new function to handle absence of affiliations.

fixes rSmart/issues#221