diff --git a/src/Handler/Utils/Exam.hs b/src/Handler/Utils/Exam.hs index 3d0068735..74188ef0f 100644 --- a/src/Handler/Utils/Exam.hs +++ b/src/Handler/Utils/Exam.hs @@ -613,7 +613,11 @@ examAutoOccurrence (hash -> seed) rule ExamAutoOccurrenceConfig{..} occurrences _rule -> singleton $ head alphabet mappingDescription :: Set ExamOccurrenceMappingDescription - mappingDescription = Set.fromList $ ExamOccurrenceMappingRange (toNullable start) end : specialMapping + mappingDescription + -- if start > end, the room only consists of users with a non-ascii tag directly adjacent to the last room + -- therefore, leave out a potentially confusing range description + | toNullable start > end = Set.fromList specialMapping + | otherwise = Set.fromList $ ExamOccurrenceMappingRange (toNullable start) end : specialMapping specialMapping :: [ExamOccurrenceMappingDescription] specialMapping