Fix bug: query not correct. Students log into Moodle using their USERNAME and not their STUDENTID, even though they are usually the same.