go back to using array_key_exists().  using array_keys() converts string numbers to integer numbers, which is not the behavior we want.