Test fix for receipts

Test a fix for a db-related error.