Handle malformed cache data better.