Fixed parsing of sub elements inside segments.