Yes, your partial rewrite works on other links, just not the one I've pointed out here:
http://www.youtube.com/watch?v=8PTgnEmlLWI&feature=topvideos
The data has been fetched into the hash table but does not yield an output for the result. Then when you attempt to execute the code again, the error persists. This behavior doesn't occur to the original code.
I'd assume there may be other similar links that MAY or MAY NOT work for this little drawback of your rewrite.