Initialize $data in case there are no results
Merge pull request #71 from novatex/master

Initialize $data in case there are no results