Fixing bug where 0 amount invoices would not expire