Fixed bug in PersistentList and PersistentDictionary.