Report Cards with Blank Comment Fields

I’ve run a draft of 2nd quarter report cards and I have two classes where students not enrolled in those classes have the course listed on their report card but without grades/comments. These students were enrolled in the course in the 1st quarter, but are not enrolled in this quarter. Is there a way to remove the blank class listing for the 2nd quarter report cards?