Fixed the issue with multiple registered courses