bug_fix_for_empty_results

If no results are returned, it throws an error.  This fixes that.