Bugfix: Check for factor in aggregate.