I encountered this bug when finishing one chapter with a comment and noticing the main chapter heading as well as the TOC listing not showing up.
The content of the following chapter is merged with the previous chapter.
For example, from the repo I modified Chapter 2:
\chapter{Background}
\label{ch:background}
\todo[The big question is whether Memento framework~\cite{memento:rfc,memento:tr} can be utilized to count historically preserved frogs?
Is Hypertext Transfer Protocol (HTTP)~\cite{http:rfc} adequate to fetch hibernated frogs?]
% I am a comment.
Nothing else in the template has changed. The result is Chapter 3's content (starting with Mat counted JCDL) appended onto the end of Chapter 2 (ends with hibernated frogs?).

I encountered this bug when finishing one chapter with a comment and noticing the main chapter heading as well as the TOC listing not showing up.
The content of the following chapter is merged with the previous chapter.
For example, from the repo I modified Chapter 2:
Nothing else in the template has changed. The result is Chapter 3's content (starting with
Mat counted JCDL) appended onto the end of Chapter 2 (ends withhibernated frogs?).