Fixed nonce check