Small bug fix in query where the query returns no results.
Merge branch 'master' of github.com:TeamFauna/dumbo