Restore default factory on Head._task_weights
#819
+1
−1
Head._task_weights
#819