Fix bug with new transaction disappearing
Fix bug when deleting a transaction