Ticket #47824 - paged results control is not working in some cases when we have a subsuffix.
Bug Description: When a simple paged result search is run against
multiple backends, subsuffix backends were not correctly set to the
next loop when crossing the backend boundary.
Fix Description: This patch changes the logic to detect the page
search finished and set the next backend correctly to the paged-
results handle. Also, when reusing the paged result handle in
pagedresults_parse_control_value, increment the refcnt.
https://fedorahosted.org/389/ticket/47824
Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
(cherry picked from commit b116d7e2a7a8e7443be93ecb84efee1364b6ba86)