Fix LoanService::createLoanDocument