On line https://github.com/aleen42/gitbook-treeview/blob/8bc8138f47b334c91fc74f9d66320c4d3e50d6e1/lib/index.js#L217, can you change the logic to OR? So that the table of content does not get generated if either condition does not meet.