Fix document-level indent reader

Related to issue #139