Small fix for db lib, checking if result of query is empty
Merge pull request #58 from ilabafrica/fixfor#55

Small fix for db lib, checking if result of query is empty