Bugfix of chapter numbers not displayed in export

No chapter numbers where display in the export of draft chapters do to:
get_posts( array( 'name' => $key, 'post_type' => $section,
'post_status' => array('publish', 'pending', 'draft', 'auto-draft',
'future', 'private', 'inherit'), 'numberposts' => 1 ) ); is not working
for draft