Although the topic is old, it's not obsolete. I just had the same problem.
window.location = href;
works fine, if you put another command after that.
window.location = href;
return false;
This works for me and redirects with the correct URL. Hope this helps others with the same problem.