Fix packages ToC section

Fixes #2937.