Deal with closing zero balance transactions properly