Bug fix in myresults.php