Bug fix: click closed deal with 0 total -- crash