Fixed bugs in revist-chapter script.