Change latex_invoices.py to query for all invoices

Before invoices were catched by going through lots
and getting associated invoices.