Allow generation of invoices we missed

If an invoice was supposed to be generated in the past, but wasn't for
whatever reason, we will now generate it instead of the order being in
limbo forever.