Added check for hierarchical loops in agenda sort view. See #2972.
Added check for hierarchical loops in agenda sort view. See #2972.

boehlke/OpenSlides,normanjaeckel/OpenSlides,tsiegleauq/OpenSlides,boehlke/OpenSlides,normanjaeckel/OpenSlides,emanuelschuetze/OpenSlides,boehlke/OpenSlides,FinnStutzenstein/OpenSlides,ostcar/OpenSlides,OpenSlides/OpenSlides,jwinzer/OpenSlides,boehlke/OpenSlides,CatoTH/OpenSlides,OpenSlides/OpenSlides,ostcar/OpenSlides,tsiegleauq/OpenSlides,jwinzer/OpenSlides,emanuelschuetze/OpenSlides,FinnStutzenstein/OpenSlides,FinnStutzenstein/OpenSlides,normanjaeckel/OpenSlides,ostcar/OpenSlides,jwinzer/OpenSlides,emanuelschuetze/OpenSlides,normanjaeckel/OpenSlides,CatoTH/OpenSlides,emanuelschuetze/OpenSlides,jwinzer/OpenSlides,jwinzer/OpenSlides,tsiegleauq/OpenSlides,FinnStutzenstein/OpenSlides,CatoTH/OpenSlides,CatoTH/OpenSlides