Check maxUnspendableToCheck > 0 in getUnspendableTxIndexes