We added a check for paid amounts being zero before allowing users to delete invoices