Bug fix: query no longer empty when large numbers of URIs are returned by the IMS