Fix invalid lists indent causing loss of PDF bookmarks