Fixed problem with `toggles` containing a URL before the fragment identifier