Renamed SegmenthLength query (SegmentLength), now its working.