Fixed array_key_exists