Add onempty attribute so the dev can handle empty results. Intended to solve #16
Merge pull request #17 from Tomtomgo/master

Add onempty attribute so the dev can handle empty results. Intended to solve #16