Fixing a bug in the counting of author affiliations