In fortran/bobyqa/rescue.f90:388, bsum uses wmv(1:n) instead of Powell's wmv(npt+1:npt+n). I know some changes are made on purpose, but I'm not sure about this one, because I couldn't find any comments about it. Also, I checked how the code behaves with and without it, and it doesn't seem to really matter.
Activity