fix rare "Illegal division by zero" error applying things when using weights, RT...