Fix for bug preventing end-of-course completion message from appearing on courses with no chapters