Added hack to get appendices on a third page in toc.