Robustified handling of keys with illegal variable properties