Check segment type has matching enum value