Fix critical bug in persistor