Well it sounds like you may have found the problem, but just incase its not the problem, heres what happened to me...
I had pulled my upper intake (just as you had) and as I was putting it back on, the throttle cable had accidentally got caught between the upper and lower intake without me noticing it. I tried tightening it down and obviously it didnt tighten right so I pulled it off and saw the cable. It didn't look to pinched so I just moved it and put the intake on (correctly this time

).
The cable had been pinched just enough for the pedal to stick every now and then. I just pinched it the other way to releave it and it has been fine ever since.
Just something else to check before you spend any money.
Good luck