Grades and credits can be edited in schedule editor
Optimizing some queries