[orf] Fix segments extraction (Closes #2501)