Index persistence working