Hide sub nav for empty issues. Code cleanup