Just to confirm: are you using Firefox? I think it was generating a circular history, but an unrelated change I just made seems to have fixed it. Strange! I am merely using location.hash.
Chrome Version 56.0.2924.87 (64-bit)
macOS El Capitan 10.11.6
And yes, it appears fixed now, thanks!
Somehow won't back page correctly in Chrome. Please just turn that off, whatever it is. I don't think anyone wants fancy history munging web pages.