Quick-fix for not showing chapters when page listing is turned off.