Fixed regression in TFactor::partSum