Handle trailing ? in grimoire URLs.