fix for empty results from query
Merge pull request #160 from garrett-gottlieb/patch-1

fix for empty results from query