course completion: MDL-2631 Display completion status more accurately