Fixed bug in listUnspent()