fix a but in the aggregator selection algorithm where processes might not go through either the if nor the else part.