/**
 * unwraps the next page descriptor to ensure that a chapter descriptor is
 * going to be returned (if a chapter group was given, then find the first
 * available chapter inside it or continue to the next sibling of that chapter
 * group).
 */