Thank you for the commit and for pointing out the pagination error.
It occurs only when you filter the documents with ::xowiki::Page. Apparently the double colons disturb the pagination procs.
Being in a hurry I corrected my local version replacing the :: with __ in my query and now it works, but I think that the problem lies in the paginator.