fix mongo brain undefined data ref #873
Merge pull request #1010 from maxbeatty/master

Fix mongo-brain error when no results cause data to be undefined