Fixed saving of key values using the nativeKeyPrefix.