Fix ancient bug in the 2.1 doctree
Fixes #1302