Minor fixes to make results.php more robust.

Signed-off-by: Gregory Davis <gdavis2@nd.edu>