Fix going back to a pjaxed state after reloading a fragment navigation

Fixes #309