Merge pull request #53 from hadfl/used_by_snapshots

znapzendztats performance improved
- check if $dataSet is set