Getting now. In "/libs/cq/gui/components/siteadmin/admin/publishwizard/references/references.jsp", category named "All pages" is not defined in JSON object unlike stuffs like "All Assets" etc.
ActivationReferenceSearchServlet makes use of ReferenceProvider's findReferences method and the implementation is hidden. - https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/co...
Am suspecting it to be AEM instance version specific issue.(6.5.4) To affirm the same, can you try once in fresh vanilla instance. Could see that you are trying on we-retail pages only. Just in thought to be sure of fresh instance.
Note : I tried in AEM 6.5.0