Fixed autocompete in send_document