Changing from array_key_exists to isset, value can't be null