Creating LessonSubstitution fails on empty table
When the first lesson substitution is created (with the table being empty before), we get an IntegrityError.
When the first lesson substitution is created (with the table being empty before), we get an IntegrityError.