This way of finding out the active entry is not so good. Not only does it fail if someone changes the url-pattern, it could also be a problem if someone uses openslides in a path (http://server/path/openslides/agenda). Could you use the way I implemented in my pull request? https://github.com/OpenSlides/OpenSlides/pull/1157/files#diff-7a637588a1b7859f52bc61cd9092cc19R73