Fixes bug where we try to iterate over null object if no topcis defined.
Merge pull request #1112 from Raverix/page-list-bug

Fixes bug where we try to iterate over null object if no topics defined.