Handle broken data without crashing.