fix logic in balance calculation for confirmed balance.
fix logic in balance calculation for confirmed balance.

libmetrocoin/libmetrocoin-explorer,leif/sx,kaostao/sx,libtetcoin/libtetcoin-explorer,cancoin/libbitcoin-explorer,libtetcoin/libtetcoin-explorer,tuomassiren/libbitcoin-explorer,BWallet/sx,BWallet/sx,ryancdotorg/sx,cancoin/libbitcoin-explorer,BWallet/sx,ryancdotorg/sx,leif/sx,kaostao/sx,GroestlCoin/libgroestlcoin-explorer,leif/sx,kaostao/sx,libmetrocoin/libmetrocoin-explorer,GroestlCoin/libgroestlcoin-explorer,GroestlCoin/libgroestlcoin-explorer,ryancdotorg/sx,tuomassiren/libbitcoin-explorer