In cronRefreshActivityGrade.sh: now handles case when ActivityGrade is entirely empty.