Update to changed apis of OpenSlides >=1.6b1.
Fixed bug when using related agenda items.