Fix more null issues. Add getFacets() to DataProvider.
Merge pull request #6 from codemix/fix-null-issue

Fix more null issues. Add getFacets() to DataProvider.