fixed #403 - mixed order of affiliations; plus made pos() smarter to allow for aff searches with increment gaps>0