Added logging for corrupted model states