Removed bug in document_converter.py. The document converter now has become quite reliable.