Fixed persistence bug.