Hide history cards when they have invalid data.