fixed grades filtering