Don't add empty <li> tags to nav (or empty whitespace).