The first heading does not have 5.1 in it so it is not the same heading. I think Active Reporting is the Book title in the TOC and 5.1 is the first page in that book.
In the Print settings, try selecting / deselecting the Maintain HTML Levels so that books have the same or different heading levels, that will change their styles so that the difference is more obvious.
Otherwise in the TOC section of the layout, change the book title to be something like Active Reporting Chapter or Active Reporting Topics. Changing is a bit tricky. Make the change but do no click outside the box, instead click Done.