Fixes #50

Improved behaviour of chapters on the tag page