Stop parsing segments if a 0-length segment ID is found