Fixed the last lesson not getting scanned