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.

This also reduces the number of levels shown on the Guide page to two levels, like @caridy suggested.