make ui exclude showing empty resultsets
fixed unit tests.
Merge pull request #18 from mozilla/exclude-empty-rs

Exclude empty rs