fix QT client not reporting right amount of coins

many thanks to tonokip!