Smarter courseenrollment grade cache invalidation