MOBILE-549 Grades plugin: Only calculate percentage if grade exists