Fix broken pushstate routing for api explorer, refs D196