Added empty result tests. Corrected bug in __getitem__ on empty results.
Merge pull request #13 from Sparrho/issue-12

Added empty result tests. Corrected bug in __getitem__ on empty results.