protection against invalid txid in guesspasswordhandler