Fix importing bug

Models where wrongly recognized as being corrupt.