database: Lecture insertion works for both S and F sessions.