Update PageListFactory.java

ECMS-6444 : fix problem of duplication for the last page of the search