Tweak how key is checked.