Fixed an issue with lecture activities