message: [Wallet] Fix ListMints when returning only unused mints
  Needed to move up the logic/checks for filtering out unused mints to get
  a propper output with `exportzerocoins false`.
diff: @@ -367,7 +367,6 @@ std::set<CMintMeta> CzPIVTracker::ListMints(bool fUnusedOnly, bool fMatureOnly,
  if (mint.isArchived)
  continue;
  - if (fMatureOnly || fUpdateStatus) {
  //if there is not a record of the block height, then look it up and assign it
  uint256 txid;
  bool isMintInChain = zerocoinDB->ReadCoinMint(mint.hashPubcoin, txid);
  @@ -393,6 +392,10 @@ std::set<CMintMeta> CzPIVTracker::ListMints(bool fUnusedOnly, bool fMatureOnly,
  bool isUsed = isPendingSpend || isConfirmedSpend;
  + if (fUnusedOnly && isUsed)
  + continue;
  +
  + if (fMatureOnly || fUpdateStatus) {
  if (!mint.nHeight || !isMintInChain || isUsed != mint.isUsed) {
  CTransaction tx;
  uint256 hashBlock;
  @@ -413,7 +416,7 @@ std::set<CMintMeta> CzPIVTracker::ListMints(bool fUnusedOnly, bool fMatureOnly,
  }
  //if not in the block index, most likely is unconfirmed tx
  - if (mapBlockIndex.count(hashBlock)) {
  + if (mapBlockIndex.count(hashBlock) && !chainActive.Contains(mapBlockIndex[hashBlock])) {
  if (mint.isUsed != isUsed) {
  mint.isUsed = isUsed;
  LogPrintf("%s: set mint %s isUsed to %d\n", __func__, mint.hashPubcoin.GetHex(), isUsed);
  @@ -429,9 +432,6 @@ std::set<CMintMeta> CzPIVTracker::ListMints(bool fUnusedOnly, bool fMatureOnly,
  }
  }
  - if (fUnusedOnly && isUsed)
  - continue;
  -
  //not mature
  if (mint.nHeight > chainActive.Height() - Params().Zerocoin_MintRequiredConfirmations()) {
  if (!fMatureOnly)
  