fixed bug in 'results' table output to K12 function