Fixed issue with no thread to display

If user had no entries in threadaccess table, he wouldn't see anything
(no sidebar also).