Right now, if a course is set to automatic enrollment and has expired, new LMS users will still be enrolled in that course and can complete it. And we can't mark the courses as inactive, as that affects activity reports. The expiration date should trump everything else: if it's expired, it's expired. We shouldn't have to go in and modify course settings on all expired courses to prevent new users from being enrolled in courses that are outdated.