import_segments throws errors on bad data now