I don't think this is critical at all, and by 'forever' problem is easily fixed simply by clearing the cookie.
Problem manifests only visually at html level, it does not affect search functionality in any way.
Also, you have some directions at a solution, you can try it out if you like.
Another way is to introduce a check point and screen every page request against failed item posting, which is a great unnecessary overhead imho.