Fixed inconsistent data persistence.