Fixed a persistenceHelper bug.