Fix for issues with glossary details when the activity context doesn't exist in the lesson set