Actually, I take it back -- the fix worked in some cases, but as the HTML got more complex, I started getting the same error.