Had that problem with my John Deere X300. After a lot of google research, I found a possible cause as "clogged air filter." I removed mine, washed out the foam prefilter and tapped out the paper filter. Reinstalled, and everything ran fine. Started surging again about a month later, so I replaced the paper filter. Been fine ever since.
-dan z-