Fixed bug in reading untrained models.