Fix missing chapter when chapter number is a remainder from grouping