In cronRefreshActivityGrade.sh, modified check for empty ActivityGrade table to be comparison to NULL instead of empty string.