here is a newer version of the library file that may correct the issue.
If not, can you give a little more detail on what you mean by "not redirecting correctly"?
are they not redirecting at all?
Redirecting to the wrong page?
what is the path in the address bar when on the insert page?
what is the path in the address bar when the redirect occurs?