fixes segment count calculation for PendingRequestsRule