[-] Core: fix call to Order::getDocuments() more than one time