Fix bug where no unpaid invoices caused an exception, rarely happens as a consultant right? :)