fixed empty results behavior for PG queries
Merge branch 'master' of https://github.com/jcburke14/dugong