Fix for not listing subcategories download plugin

Not listing subcategories when you don't have them on main page
(unchecked in preferencies)
Found while working on #479.  Related with  #566. Probably only mistake.