Fixed bug in document_converter.py