It appears that entries on the course_modules_viewed table are not deleted when a course is reset. This caused us some confusion, as activities that base their completion status on whether a user has viewed that activity will appear to be still be "completed" for that user even after a reset is performed. For context: this issue was first noticed with a course we use to host yearly training, where we want the participants' completion for each activity to be reset each time they take the course. We have historically just reset the course in-place, rather than creating a new course each year.
Is this intended behavior, or a bug in version 4.1.2? I wanted to raise the matter here before opening a bug tracker issue about this.