Stripped out extra quotes from SQL
Fixed the main logic of student grade reporting