Fixed problem with course progress not being updated when a task was uncompleted and the course wasn't completed.