Fix assigment type weights.

Closes #443.