Fixed a bug where some zone lines were discarded.