The check against bisverwendungen caused wrong date definitions, when a lector is teaching without a contract. Now the start end end time refer only the teaching activities. PLUS some code refactoring for easier maintainance