Refs #6786 adding support for $limit parameter to the Segment query builder.