Sum and integral are threated the same by NDSolve in Mathematica 9:

The problem was also in Mathematica 7. I submitted a bugreport to the technical support, they admitted this is a bug, fixed it in Mathematica 8, and now in Mathematica 9 the bug is here again.