Forgot to drop pset_modifier.
Run weight_obj in EndPath in case it does not get run anywhere else (can happen e.g. with prepended vetos).

(cherry picked from commit f1adbb6922cbf4a2e2f92ba3679adf43bcececd6)