In case there are no results...

$results is null, so don't use it in foreach