fixed deleting two payment when invoice.rest equal null