Fix a bug in archives to handle no chapters.