To be safe, this should look for a specific prefix of key instead of ignoring bad ones.