Fix TOC component's `maxDepth` comparison

This changes the interpretation of the TOC component's `maxDepth`. A
`maxDepth = 2`, should mean two levels of headings in the TOC, not
three.
Merge pull request #127 from ericf/guide-toc-depth

Fix TOC component's `maxDepth` comparison