fix bySegmentResults

1) fix class cast in for segment results
2) exclude old netty version coming from curator