bugfix: handling with zero length sbend and ebend
bugfix: handling with zero length sbend and ebend

frib-high-level-controls/FLAME,frib-high-level-controls/FLAME,frib-high-level-controls/FLAME,frib-high-level-controls/FLAME,frib-high-level-controls/FLAME,frib-high-level-controls/FLAME