fix check whether subpopulations should be used or not: I can have person attributes for other reasons than for sub populations, thus the check needs to be on the attribute name, not the person attributes being available.
Authored by: mrieser 2013-12-03
Parent: [r26992]
Child: [r26994]