Fix for surviving corrupted local storage