LOADUI-190 Added check for segmentType
LOADUI-190 refined fix and made test for this bug
LOADUI-190 fixed segmentType typo