Fix setting course status when completed