fixing invoices not tied to batches